public interface Controller
Modifier and Type | Method and Description |
---|---|
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
|
javax.swing.JPanel |
getPanel()
Get a JPanel which is the main section for the palette.
|
void |
getSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
Collect the settings for this controller.
|
javax.swing.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(java.util.Map<java.lang.String,java.lang.Object> settings)
Set the settings for this controller.
|
javax.swing.JComponent getTitleComponent()
javax.swing.JPanel getPanel()
boolean isInitiallyVisible()
void initialize()
void getSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
settings
- the settings mapvoid setSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
settings
- the settings mapvoid addControllerListener(ControllerListener listener)
listener
- the controller listenervoid removeControllerListener(ControllerListener listener)
listener
- the controller listenerhttp://code.google.com/p/jam-lib/