|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--amber.server.panel.PanelTemplateGroup
This class is concerned with stitching several panel templates derived from BasePanel and overlaid onto one panel into a group of sharing templates for that panel. It functions in a similar way to java.awt.CheckboxGroup.
BasePanel,
CheckboxGroup, Serialized Form| Constructor Summary | |
PanelTemplateGroup()
Default constructor. |
|
PanelTemplateGroup(int groupId)
Initialising constructor. |
|
| Method Summary | |
int |
getGroupId()
This function returns the current value of the group ID. |
int |
getGroupId(BasePanel template)
This function is a rather bizare one which clients of the template group can use to request the group ID of all the panels in the group. |
BasePanel |
getSelectedPanelHandler()
Returns the currently enabled panel handler. |
void |
setGroupId(int id)
This function is used to set the group ID. |
void |
setSelectedPanelHandler(BasePanel template)
Sets the currently selected panel handler. |
void |
setSelectedPanelHandlerAndCreate(BasePanel template)
Sets the currently selected panel handler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PanelTemplateGroup()
public PanelTemplateGroup(int groupId)
groupId - int containing the group panel ID.| Method Detail |
public void setSelectedPanelHandler(BasePanel template)
throws PanelHandlerException
template - BasePanel which is to be the new enabled template.amber.server.panelException - if there is a problem.
public void setSelectedPanelHandlerAndCreate(BasePanel template)
throws PanelHandlerException,
ComponentHandlerException
template - BasePanel which is to be the new enabled template.PanelHandlerException - if there is a problem.ComponentHandlerException - if there is a problem creating the panel.public BasePanel getSelectedPanelHandler()
public int getGroupId()
public int getGroupId(BasePanel template)
template - BasePanel to query should this be the first time.public void setGroupId(int id)
id - int ID to set the group to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||