|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Controller
Method Summary | |
---|---|
void |
addControllerListener(ControllerListener listener)
Add a ControllerListener to this controllers list of listeners The main listener will be the ControlPalette itself which will use this to resize the panels if the components changed |
JPanel |
getPanel()
Get a JPanel which is the main section for the palette. |
void |
getSettings(Map<String,Object> settings)
Collect the settings for this controller. |
JComponent |
getTitleComponent()
Get a component that will be put in the title bar of the palette section. |
void |
initialize()
Initialize this controller when a new document is created. |
boolean |
isInitiallyVisible()
|
void |
removeControllerListener(ControllerListener listener)
Remove a listener |
void |
setSettings(Map<String,Object> settings)
Set the settings for this controller. |
Method Detail |
---|
JComponent getTitleComponent()
JPanel getPanel()
boolean isInitiallyVisible()
void initialize()
void getSettings(Map<String,Object> settings)
settings
- the settings mapvoid setSettings(Map<String,Object> settings)
settings
- the settings mapvoid addControllerListener(ControllerListener listener)
listener
- the controller listenervoid removeControllerListener(ControllerListener listener)
listener
- the controller listener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |