Serialized Form
arrowDirection
int arrowDirection
- The current direction in which the arrow points
arrowShadowThickness
int arrowShadowThickness
- The thickness of the shadows surrounding the arrow (the normal
shadow thickness property controls the thickness of the shadowed
rectangle surrounding the arrow
actionListeners
java.util.Vector actionListeners
- The objects which are listening for action events on this box
mouseDown
boolean mouseDown
- Is the mouse button currently down, as far as we know?
mouseOver
boolean mouseOver
- Is the mouse pointer currently over this component?
child
java.awt.Component child
- The child we're clipping
childPlacement
int childPlacement
- The placement of the child if the size of the child is
smaller than the parent container.
scrollHorz
java.awt.Scrollbar scrollHorz
- The vertical scroll bar which is being used to pan this up and down
the clipped child; used for setting the bar's page size; leave as
null if unused.
scrollVert
java.awt.Scrollbar scrollVert
- The horizontal scroll bar which is being used to pan this across the
clipped child; used for setting the bar's page size; leave as
null if unused.
xOffset
int xOffset
- The x offset of the component within the clipping window; 1 means
it should have the left line clipped and be moved left one pixel,
and so on.
yOffset
int yOffset
- The y offset of the component within the clipping window; 1 means
it should have the top line clipped and be moved up one pixel,
and so on.
numColumns
int numColumns
- The number of columns (rows if horizontal) that this layout will hold
commandField
javax.swing.JTextField commandField
- The text field into which commands can be typed
historyList
javax.swing.JList historyList
- The 'history list' of commands which have already been used
historyListModel
javax.swing.DefaultListModel historyListModel
- The model for the history list.
maxHistoryItems
int maxHistoryItems
- The maximum number of items allowed in the history list at
any one time
promptLabel
javax.swing.JLabel promptLabel
- The prompt label
betweenDist
int betweenDist
- The space between the workarea and its buttons
buttons
java.util.Vector buttons
- A vector holding the buttons managed by this layout manager
minimizeButtons
boolean minimizeButtons
- Should we minimise the buttons in the template (ie. *not* make them
all the same size?
separator
Separator separator
- The separator which separates the work area and the buttons.
workAreas
java.util.Vector workAreas
- A vector holding the workarea; we allow more than one work area, but,
as with Motif, we do not define how any apart from the first are
laid out; in fact, this version puts them all at (0,0).
unsizedComponents
java.util.Vector unsizedComponents
- A list of those components which have been added with no size set
on them
constraints
java.util.Hashtable constraints
- A mapping of components to their constraints
formBottom
uk.co.ist.mwt.FormLayoutGraphNode formBottom
- The FormLayoutGraphNode representing the bottom of the form
formLeft
uk.co.ist.mwt.FormLayoutGraphNode formLeft
- The FormLayoutGraphNode representing the left of the form
formRight
uk.co.ist.mwt.FormLayoutGraphNode formRight
- The FormLayoutGraphNode representing the right of the form
formTop
uk.co.ist.mwt.FormLayoutGraphNode formTop
- The FormLayoutGraphNode representing the top of the form
fractionBase
int fractionBase
- The denominator for the fractions used for position attachments;
the numerator is taken from the position constraint.
myLayout
FrameLayoutManager myLayout
myTitle
java.awt.Component myTitle
- The component which has been designated the title of the frame
shadowDrawer
ShadowDrawer shadowDrawer
- The object the FrameLyout uses to draw its shadows
shadowType
int shadowType
- The type of shadow we are currently using
titleHorizAlignment
int titleHorizAlignment
- The alignment of the title widget horizontally; where across the frame
should it appear?
titleHorizSpacing
int titleHorizSpacing
- The minimum distance between either left or right edge of the title
and the inner edge of the frame's shadow.
titleVertAlignment
int titleVertAlignment
- The alignment of the title widget vertically; where does the top
line come?
theIcon
java.awt.Component theIcon
inImageUpdate
boolean inImageUpdate
lastHeight
int lastHeight
- The last height we got from the image
lastWidth
int lastWidth
- The last width we got from the image
myDisabledImage
java.awt.Image myDisabledImage
- The image to display when the area is disabled
myImage
java.awt.Image myImage
- The image to display when the area is enabled
inImageUpdate
boolean inImageUpdate
lastHeight
int lastHeight
- The last height we got from the image
lastWidth
int lastWidth
- The last width we got from the image
myArmedImage
java.awt.Image myArmedImage
- The image to display when the button is enabled and armed
myDisabledImage
java.awt.Image myDisabledImage
- The image to display when the button is disabled
myImage
java.awt.Image myImage
- The image to display when the button is enabled and unarmed
marginHeight
int marginHeight
- The minimum spacing in pixels between the top of the parent Container
and the top of the child component nearest the top when the
Container is its preferred size
marginWidth
int marginWidth
- The minimum spacing in pixels between the left of the parent Container
and the rightmost side of the rightmost child component when the
Container is its preferred size
actionListeners
java.util.Vector actionListeners
- The objects which are listening for action events on this box
cancelB
javax.swing.JButton cancelB
- The 'Cancel' button for the panel
currentButtonPos
int currentButtonPos
- The position at which the next button should be added to the layout
manager
helpB
javax.swing.JButton helpB
- The 'Help' button for the panel
okB
javax.swing.JButton okB
- The 'OK' button for the panel
allChildren
uk.co.ist.mwt.PWChildVector allChildren
- The list of all children as a PWChildVector, used for resizing
childConstraints
java.util.Hashtable childConstraints
- A mapping between the children and their constraints; children
which have note been constrained are treated as if they have
been given default constraints.
firstTime
boolean firstTime
- A flag to show whether this is the first time this layout has
been told to lay its children out
separators
java.util.Vector separators
- The abstract separator components which separate the children. If we
are told to not display separators, we tell all of these to simply
draw their sashes.
showSeparators
boolean showSeparators
- Are we meant to be showing separators right now?
adjustLast
boolean adjustLast
- Should we adjust the last column (row if horizontal) to fit whatever
space is left after having placed all of the other columns/rows?
vertical
boolean vertical
- Is this layout meant to be vertical? Or horizontal?
aboveRect
java.awt.Rectangle aboveRect
- A box which contains the area of the slider which represents
higher numbers than that which the slider is showing
belowRect
java.awt.Rectangle belowRect
- A box which contains the area of the slider which represents
lower numbers than that which the slider is showing
decimalPoints
int decimalPoints
- If /showingVal/, how many of the digits should be regarded as being to
the right of the decimal point?
dragging
boolean dragging
- A flag to say that the user is dragging the thumb
maximumTopRight
boolean maximumTopRight
- If /maximumTopRight/ then the maximum of the Scale is at the top when
it is vertical and at the right when it is horizontal. Otherwise
the maximum is at the bottom or left as appropriate
maximumVal
int maximumVal
- The value the scale is set to when in its maximum position
minimumVal
int minimumVal
- The value the scale is set to when in its minimum position
multiple
int multiple
- The distance (in terms of value) that the thumb moves on a page
action (ie. a click in a non-thumb part of the scale display). If
undefined then 1/10 of the total length is used.
oldSliderRect
java.awt.Rectangle oldSliderRect
- The last version of sliderRect used (for optimising redraw)
oldThumbRect
java.awt.Rectangle oldThumbRect
- The last version of thumbRect used (for optimising redraw)
oldValueRect
java.awt.Rectangle oldValueRect
- The last position used for valueRect (for optimising repaint)
posInThumb
int posInThumb
- A store of the position along the slider at which the mouse button
was pressed down when we started a drag
possibleClickRect
java.awt.Rectangle possibleClickRect
- Either /aboveRect/ or /belowRect/, whichever has last seen a mouse down
event. null if something else has received one since (and we know about
it).
rectsChanged
boolean rectsChanged
- A note of whether an action has occured which would change some
of the display
showingVal
boolean showingVal
- Are we displaying the value of the scale alongside it?
sliderRect
java.awt.Rectangle sliderRect
- A store of the bounding box for the slider itself
thumbRect
java.awt.Rectangle thumbRect
- A store of the thumb's bounding box at the last redraw; null if
undrawn
value
int value
- The value currently being displayed
valueRect
java.awt.Rectangle valueRect
- A store of the bounding box for the value (if it's being displayed)
vertical
boolean vertical
- The is the scale vertical?
isVertical
boolean isVertical
- Should we lay out vertically?
scale
Scale scale
- The scale which this ScalePanel holds
scaleChildLayout
ScaleChildLayout scaleChildLayout
- The layout manager used to lay out the children of this panel (with
the exception of the scale itself)
scaleChildPanel
javax.swing.JPanel scaleChildPanel
- The panel which contains the components which, under Motif, would be
children of the scale, and in this case are conceptually children of
this container
vertical
boolean vertical
- A flag to say whether this panel is vertical
scrollbarPlacement
int scrollbarPlacement
- Scalar stating where the two scroll bars meet
- See Also:
ScrollablePanel.setScrollbarPlacement(int)
scrollHorz
java.awt.Scrollbar scrollHorz
- The horizontal scroll bar for this panel
scrollVert
java.awt.Scrollbar scrollVert
- The vertical scroll bar for this panel
workArea
java.awt.Component workArea
- The work area child (eg. the component which displays whatever this
ScrollablePanel is scrolling)
alwaysShowScrollbars
boolean alwaysShowScrollbars
- A flag to tell us to always show the scroll bars for this
ScrolledPanel, even if they are not necessary
clipLayout
ClipLayout clipLayout
- The layout manager which allows the Panel which acts as a clipping
window to do so.
clipWindow
javax.swing.JPanel clipWindow
- The clipping window for the panel; this acts as a window onto
the currently visible part of the child
myLayout
SelectionBoxLayout myLayout
- The SelectionBoxLayout which gives this component its resize behaviour
workArea
java.awt.Component workArea
- The work area in the SelBox
workAreaPlacement
int workAreaPlacement
- The current placement constant for the work area
resizingComponent
java.awt.Component resizingComponent
- The component which gets any extra space on resize
applyButton
javax.swing.JButton applyButton
- The apply button
cancelButton
javax.swing.JButton cancelButton
- The cancel button
dialogLayout
DlogTemplateLayout dialogLayout
- The DlogTemplateLayout which gives the buttons at the bottom of
the component their layout behaviour
dialogType
int dialogType
- The type of dialog this is
helpButton
javax.swing.JButton helpButton
- The help button
itemsLabel
javax.swing.JLabel itemsLabel
- The 'items' label
okButton
javax.swing.JButton okButton
- The OK button
scrollPane
javax.swing.JScrollPane scrollPane
- The selection list scrollpane
selectionBox
javax.swing.JPanel selectionBox
- The selection box section of this panel
selectionField
javax.swing.JTextField selectionField
- The selection text field
selectionLabel
javax.swing.JLabel selectionLabel
- The 'selection' label
selectionLayout
SelectionBoxLayout selectionLayout
- The SelectionBoxLayout which gives the selection box part of this
component its resize behaviour
selectionList
javax.swing.JList selectionList
- The selection list
selectionListModel
javax.swing.DefaultListModel selectionListModel
- The model for the selection list.
margin
int margin
- The space to the sides (if vertical) or above and below (if horizontal)
of the separator.
type
int type
- A variable noting the type of the separator
vertical
boolean vertical
- A variable to show if the separator is vertical
bottomShadowColor
java.awt.Color bottomShadowColor
- The colour used to draw bottom shadows (the dark bits) or null if none
is defined
shadowThickness
int shadowThickness
- The thickness of shadows draw with this object
topShadowColor
java.awt.Color topShadowColor
- The colour used to draw top shadows (the light bits) or null if none
is defined
shadowDrawer
ShadowDrawer shadowDrawer
- A ShadowDrawer object to whom all of the real work is delegated