Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class uk.co.ist.mwt.SelBoxPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--uk.co.ist.mwt.SelBoxPanel
Subclasses:
CommandPanel, SelectionPanel

public abstract class SelBoxPanel
extends java.awt.Panel
A SelBoxPanel is the base class for the CommandPanel and the SelectionPanel, encapsulating all of their shared functionality

See Also:
Serialized Form

Field Summary
static int kWorkAreaAboveSelection
          Constant for use in setWorkAreaPlacement() to make the work area component go above the label marking the selection area.
static int kWorkAreaAtTop
          Constant for use in setWorkAreaPlacement() to make the work area component go at the top of the panel
static int kWorkAreaBelowSelection
          Constant for use in setWorkAreaPlacement() to make the work area component go below the selection area.
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
SelBoxPanel()
           
 
Method Summary
void addWorkArea(java.awt.Component c)
          Add a work area to this SelBoxPanel
int getWorkAreaPlacement()
          Gets the position for the work area
void setWorkAreaPlacement(int placement)
          Sets the position for the work area to one of the above position constants (or to kWorkAreaAboveSelection if the value is invalid)
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addNotify, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponentAt, getComponentAt, getComponent, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paint, preferredSize, printComponents, print, removeAll, remove, remove, removeContainerListener, removeNotify, setLayout, update, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paint, postEvent, preferredSize, prepareImage, prepareImage, printAll, print, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

kWorkAreaAboveSelection

public static final int kWorkAreaAboveSelection
Constant for use in setWorkAreaPlacement() to make the work area component go above the label marking the selection area.

kWorkAreaBelowSelection

public static final int kWorkAreaBelowSelection
Constant for use in setWorkAreaPlacement() to make the work area component go below the selection area.

kWorkAreaAtTop

public static final int kWorkAreaAtTop
Constant for use in setWorkAreaPlacement() to make the work area component go at the top of the panel
Constructor Detail

SelBoxPanel

public SelBoxPanel()
Method Detail

addWorkArea

public void addWorkArea(java.awt.Component c)
Add a work area to this SelBoxPanel

setWorkAreaPlacement

public void setWorkAreaPlacement(int placement)
Sets the position for the work area to one of the above position constants (or to kWorkAreaAboveSelection if the value is invalid)

getWorkAreaPlacement

public int getWorkAreaPlacement()
Gets the position for the work area

Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD