|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Panel
|
+--PanelConfiguration.PanelConfiguration
|
+--PanelConfiguration.PaintSurfacePanel
This class provides the panel in order to add a paintSurface on it.
PaintSurface,
PanelConfiguration, Serialized Form| Field Summary | |
protected PaintSurface |
paintSurface
The surface that we are going to add to the panel. |
protected ToolPanel |
toolPanel
The panel on which we display a help message. |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
PaintSurfacePanel(int width,
int height)
The second constructor. |
|
PaintSurfacePanel(int width,
int height,
Color backgroundColor)
The first constructor. |
|
| Method Summary | |
void |
componentHidden(ComponentEvent e)
When the component is hidden. |
void |
componentMoved(ComponentEvent e)
When the component is moved. |
void |
componentResized(ComponentEvent e)
When the component is resized. |
void |
componentShown(ComponentEvent e)
When the component is shown. |
void |
init(ToolPanel toolPanel,
FormsMakerPanel formsMakerPanel)
Initialization of the PaintSurfacePanel. |
void |
mouseClicked(MouseEvent e)
When the mouse is clicked. |
void |
mouseEntered(MouseEvent e)
When the mouse enters. |
void |
mouseExited(MouseEvent e)
When the mouse exits. |
void |
mousePressed(MouseEvent e)
When the mouse is pressed. |
void |
mouseReleased(MouseEvent e)
When the mouse is released. |
PaintSurface |
paintSurface()
Return the PaintSurface of the panel., |
void |
start()
This method call the start method of the PaintSurface. |
| Methods inherited from class PanelConfiguration.PanelConfiguration |
Disable,
Enable |
| Methods inherited from class java.awt.Panel |
addNotify |
| Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
paramString,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
setLayout,
update,
validate,
validateTree |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected PaintSurface paintSurface
PaintSurfaceprotected ToolPanel toolPanel
ToolPanel| Constructor Detail |
public PaintSurfacePanel(int width,
int height,
Color backgroundColor)
width - The width of the PaintSurface.height - The height of the PaintSurface.backgroundColor - The backroundColor of the PaintSurfacePanel.PaintSurface
public PaintSurfacePanel(int width,
int height)
width - The width of the PaintSurface.height - The height of the PaintSurface.PaintSurface| Method Detail |
public void init(ToolPanel toolPanel,
FormsMakerPanel formsMakerPanel)
toolPanel - The panel on which we display the help message.formsMakerPanel - The panel we are going to get the different variables (type of forms choosen, texture, color) for drawing on a PaintSurface.ToolPanel,
FormsMakerPanelpublic void start()
PaintSurfacepublic PaintSurface paintSurface()
PaintSurfacepublic void mouseClicked(MouseEvent e)
e - The MouseEvent.public void mouseEntered(MouseEvent e)
e - The MouseEvent.public void mouseExited(MouseEvent e)
e - The MouseEvent.public void mousePressed(MouseEvent e)
e - The MouseEvent.public void mouseReleased(MouseEvent e)
e - The MouseEvent.public void componentHidden(ComponentEvent e)
e - The ComponentEventpublic void componentMoved(ComponentEvent e)
e - The ComponentEventpublic void componentResized(ComponentEvent e)
e - The ComponentEventpublic void componentShown(ComponentEvent e)
e - The ComponentEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||