|
|||||||||
| 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.ToolPanel
This class provides a panel where we can have help.
FormsMakerPanel, Serialized Form| Field Summary | |
protected Help |
help
The help frame. |
protected Button |
helpButton
A help button. |
protected MouseListener |
helpMouseListener
The mouse listener for the help button. |
protected Panel |
helpPanel
The panel for the help. |
protected TextArea |
textArea
The area on which we draw help messages. |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
ToolPanel()
The second constructor. |
|
ToolPanel(Color backgroundColor)
The first constructor. |
|
| Method Summary | |
Help |
help()
This method returns the help frame. |
boolean |
helpFrameOpen()
This method returns if the help frame is open or not. |
void |
init()
Initialisation of the panel used when we catch a nullpointerexception. |
void |
init(Image image,
String fileName)
Initialisation of the panel. |
void |
init(Image image,
URL fileName)
Initialisation of the panel. |
protected void |
initMouseListener()
Initialisation of the mouse listener. |
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. |
void |
setText(String string)
This method set a help message on the TextArea. |
void |
setText(String string,
Color color)
This method set a help message on the TextArea with a specified color. |
| 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 Button helpButton
protected TextArea textArea
protected Panel helpPanel
protected Help help
Helpprotected MouseListener helpMouseListener
| Constructor Detail |
public ToolPanel(Color backgroundColor)
backgroundColor - The background color of the panel.public ToolPanel()
| Method Detail |
protected void initMouseListener()
public void init(Image image,
URL fileName)
image - The help image.fileName - The help file name.
public void init(Image image,
String fileName)
image - The help image.fileName - The help file name.public void init()
public void setText(String string)
string - The help message.
public void setText(String string,
Color color)
string - The help message.color - The color of the help message.public boolean helpFrameOpen()
Helppublic Help help()
Helppublic 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||