|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--amber.server.component.ComponentHandler
|
+--amber.server.component.PanelHandler
|
+--amber.server.panel.BasePanel
|
+--amber.server.panel.GenericPanel
This class is a simple extension to the BasePanel class and allows the user to perform general panel operations without the requirement to subclass BasePanel.
ApplicationInterface,
BasePanel, Serialized Form| Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
| Fields inherited from class amber.server.panel.BasePanel |
autoDoLayoutState, xOffset, yOffset |
| Fields inherited from class amber.server.component.PanelHandler |
AddOperation, autoRedrawState, drawOperations, InsertOperation, PaintPanel, PanelNextAvailableCommand, postInPacketListeners, preInPacketListeners, RemoveAllOperations, RemoveOperation, ReplaceOperation, SetBorder, SetReDraw |
| Fields inherited from class amber.server.component.ComponentHandler |
actionCommand, active, ApplicationId, CancelReturn, dataEncoder, DefaultTimeout, enabledState, encoderBytes, id, InvalidId, MaximumId, NoReturn, OkCancelType, OkReturn, OkType, OkYesReturn, parentPage, responsePackets, timeoutValue, UnchangeableInvalidId, visibleState, YesNoCancelType, YesNoType, YesReturn |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface amber.server.panel.ContainerHandler |
AddComponent, AutoDoLayout, ForceDoLayout, GetInsets, GetInsetsResponse, NextAvailableCommand, RemoveAllComponents, RemoveComponent, SetBounds |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
GenericPanel()
Default constructor. |
|
GenericPanel(ApplicationInterface pageHandler)
The initialising constructor. |
|
GenericPanel(ApplicationInterface pageHandler,
PanelTemplateGroup panelGroup,
boolean selectedState)
The initialising constructor. |
|
GenericPanel(ApplicationInterface pageHandler,
PanelTemplateGroup panelGroup,
boolean selectedState,
int x,
int y)
The initialising constructor. |
|
GenericPanel(int id,
ApplicationInterface pageHandler)
The initialising constructor. |
|
GenericPanel(int id,
int baseOffset,
ApplicationInterface pageHandler)
The initialising constructor. |
|
GenericPanel(int id,
int baseOffset,
ApplicationInterface pageHandler,
PanelTemplateGroup panelGroup,
boolean selectedState)
The initialising constructor. |
|
GenericPanel(int id,
int baseOffset,
ApplicationInterface pageHandler,
PanelTemplateGroup panelGroup,
boolean selectedState,
int x,
int y)
The initialising constructor. |
|
| Method Summary | |
boolean |
canClose()
This function determines if the panel can be closed. |
void |
defineComponents()
This function is called to define the components which are a part of this template. |
void |
fillControls()
This function should be called at the end of recreatePanel. |
void |
saveData()
This function is called to save any required information in the panel. |
| Methods inherited from class java.awt.Component |
action, add, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getToolkit, getTreeLock, getWidth, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, remove, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, reshape, resize, resize, setComponentOrientation, setDropTarget, setLocale, setName, show, show, size, toString, transferFocus, update, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GenericPanel()
public GenericPanel(ApplicationInterface pageHandler)
pageHandler - The handle to the main ApplicationInterface which handles the functions of page overall.
residing on the browser.
public GenericPanel(int id,
ApplicationInterface pageHandler)
id - The int containing the id of the corresponding remote component
residing on the browser.pageHandler - The handle to the main ApplicationInterface which handles the functions of page overall.
public GenericPanel(ApplicationInterface pageHandler,
PanelTemplateGroup panelGroup,
boolean selectedState)
pageHandler - The handle to the main ApplicationInterface which handles the functions of page overall.
residing on the browser.panelGroup - PanelTemplateGroup class which is used to stitch several panels
onto one base panel.selectedState - boolean true if this is the selected panel template.
public GenericPanel(ApplicationInterface pageHandler,
PanelTemplateGroup panelGroup,
boolean selectedState,
int x,
int y)
pageHandler - The handle to the main ApplicationInterface which handles the functions of page overall.
residing on the browser.panelGroup - PanelTemplateGroup class which is used to stitch several panels
onto one base panel.selectedState - boolean true if this is the selected panel template.x - int x coordinate of the top left point of the panel in the drawing panel.
This can be used to offset the drawing of the controls in the panel.y - int y coordinate of the top left point of the panel in the drawing panel.
public GenericPanel(int id,
int baseOffset,
ApplicationInterface pageHandler)
id - The int containing the id of the corresponding remote component
residing on the browser.baseOffset - The int containing the base offset for the id's of the
internal panel components.pageHandler - The handle to the main ApplicationInterface which handles the functions of page overall.
public GenericPanel(int id,
int baseOffset,
ApplicationInterface pageHandler,
PanelTemplateGroup panelGroup,
boolean selectedState)
id - The int containing the id of the corresponding remote component
residing on the browser.baseOffset - The int containing the base offset for the id's of the
internal panel components.pageHandler - The handle to the main ApplicationInterface which handles the functions of page overall.panelGroup - PanelTemplateGroup class which is used to stitch several panels
onto one base panel.selectedState - boolean true if this is the selected panel template.
public GenericPanel(int id,
int baseOffset,
ApplicationInterface pageHandler,
PanelTemplateGroup panelGroup,
boolean selectedState,
int x,
int y)
id - The int containing the id of the corresponding remote component
residing on the browser.baseOffset - The int containing the base offset for the id's of the
internal panel components.pageHandler - The handle to the main ApplicationInterface which handles the functions of page overall.panelGroup - PanelTemplateGroup class which is used to stitch several panels
onto one base panel.selectedState - boolean true if this is the selected panel template.x - int x coordinate of the top left point of the panel in the drawing panel.
This can be used to offset the drawing of the controls in the panel.y - int y coordinate of the top left point of the panel in the drawing panel.| Method Detail |
public void fillControls()
amber.server.panel.ContainerHandlerBasePanel.defineComponents()public boolean canClose()
public void saveData()
amber.server.panel.ContainerHandlerPanelTemplateGrouppublic void defineComponents()
defineComponents in class BasePanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||