|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is the base interface of a container type component handler. This is a component handler which can contain other objects such as a panel.
| Field Summary | |
static byte |
AddComponent
|
static byte |
AutoDoLayout
|
static byte |
ForceDoLayout
|
static byte |
GetInsets
|
static byte |
GetInsetsResponse
|
static byte |
NextAvailableCommand
|
static byte |
RemoveAllComponents
|
static byte |
RemoveComponent
|
static byte |
SetBounds
|
| Method Summary | |
void |
add(ComponentHandler newComponent,
java.lang.Object constraints)
This function adds a specified component to this panel. |
boolean |
canClose()
This function determines if the panel can be closed. |
void |
doPanelLayout()
This function forces the target remote panel to re-lay itself out. |
void |
fillControls()
This function is called at the end of recreatePanel. |
boolean |
getAutoDoLayout()
This function returns the automatic doLayout which occurs when a component is added. |
java.util.Vector |
getComponents()
Returns the component vector. |
java.awt.Insets |
getInsets()
This function gets the inset values for the container. |
PanelComponentInfo |
getPanelComponent(int index)
This function finds the control which is located at the specified location |
PanelComponentInfo |
getPanelComponentAt(int x,
int y)
This function finds the control which is located at the specified location |
PanelComponentInfo |
getPanelComponentAt(java.awt.Point point)
This function finds the control which is located at the specified location |
void |
recreatePanel()
This function dynamically recreates the panel. |
void |
remove(ComponentHandler component)
This function removes the specified component from the corresponding remote Panel. |
void |
saveData()
This function is called to save any required information in the panel. |
void |
setAutoDoLayout(boolean state)
This function turns off the automatic doLayout which occurs when a component is added. |
| Field Detail |
public static final byte AddComponent
public static final byte RemoveComponent
public static final byte RemoveAllComponents
public static final byte SetBounds
public static final byte AutoDoLayout
public static final byte ForceDoLayout
public static final byte GetInsets
public static final byte GetInsetsResponse
public static final byte NextAvailableCommand
| Method Detail |
public void recreatePanel()
throws ComponentHandlerException
public void fillControls()
BasePanel.defineComponents()public boolean canClose()
PanelTemplateGrouppublic void saveData()
PanelTemplateGroup
public void add(ComponentHandler newComponent,
java.lang.Object constraints)
newComponent - ComponentHandler for the created component.constraints - Object containing the constraints defining where the
component will be placed in the panel.
public void remove(ComponentHandler component)
throws ComponentHandlerException
component - ComponentHandler for the created component.ComponentHandlerException - containing error informationpublic java.util.Vector getComponents()
public PanelComponentInfo getPanelComponentAt(java.awt.Point point)
point - Point containing the location of the control.
public PanelComponentInfo getPanelComponentAt(int x,
int y)
x - int x coordinate of location.y - int y coordinate of location.public PanelComponentInfo getPanelComponent(int index)
index - int index of the component to retrieve.
public void setAutoDoLayout(boolean state)
throws ComponentHandlerException
state - boolean state to set the automatic laying out of components.ComponentHandlerException - with any messaging errors.public boolean getAutoDoLayout()
public void doPanelLayout()
throws ComponentHandlerException
ComponentHandlerException - with any messaging errors.
public java.awt.Insets getInsets()
throws ComponentHandlerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||