|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseUIInterface
This interface is implemented by UI components to show/edit configuration objects. When miadmin opens a configuration object (e.g. ConnectorConfig etc) it will consult the UserInterface class for a description of the UI component that will handle the UI. miadmin always puts these UI components inside a TitledPanel to provide a standard header and toolbar for each component. The implementing class is first constructed and then setConfig() and createUI() methods are called. The TitledPanel will give the child component an opportunity to add items to the upper right toolbar. It does so by calling a method addTitledPanelBar ( JPanel panel ). Then it appends the Close button to whatever the client added. when the panel is closed, the TitledPanel will call boolean onPanelClosing() where the child component is given a chance to veto and/or perform specific code before the panel is closed. If the method returns false the panel will not be closed.
Method Summary | |
---|---|
void |
createUI()
Creates user interface for config object |
BaseConfiguration |
getConfig()
Gets the config attribute of the BaseUIInterface object |
void |
setConfig(BaseConfiguration config)
Sets the config attribute of the BaseUIInterface object |
Method Detail |
---|
void setConfig(BaseConfiguration config)
config
- The new config valueBaseConfiguration getConfig()
void createUI() throws Exception
Exception
- if an error occurs while creating user interface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |