mWaba.gui
Class mPanel
java.lang.Object
|
+--waba.ui.Control
|
+--waba.ui.Container
|
+--mWaba.gui.mControl
|
+--mWaba.gui.mCanvas
|
+--mWaba.gui.mPanel
- Direct Known Subclasses:
- ButtonBar, Form, Holder, InputStack, mFrame, mTabbedPanel
- public class mPanel
- extends mCanvas
Fields inherited from class mWaba.gui.mControl |
_debug,
AlwaysEnabled,
AlwaysRecalculateSize,
backGround,
borderWidth,
CapturesPen,
columns,
debugGui,
defaultAddMeCellConstraints,
defaultAddMeControlConstraints,
DidHoldDown,
Disabled,
doubleBuffer,
doubleClickTime,
dragging,
dragResolution,
DrawFlat,
emptySize,
firstPress,
fixedPreferredSize,
fixedSize,
ForceResize,
foreGround,
globalDrawFlat,
globalEditable,
globalEnabled,
globalSmallControls,
GotPenDown,
GotPreferredSize,
holdDownPause,
holdTick,
ImageChanged,
Invisible,
KeepImage,
kids,
listeners,
modifiers,
myFont,
myFrame,
NoFocus,
NotAnEditor,
NotEditable,
PenTransparent,
preferredSize,
PreferredSizeOnly,
pressPoint,
prompt,
SendUpKeyEvents,
SendUpPenEvents,
ShrinkToNothing,
SmallControl,
SpecialBackground,
TakeControlEvents,
text,
Transparent,
WantDrag,
WantHoldDown |
Fields inherited from class waba.ui.Container |
children,
numChildren,
tail |
Fields inherited from class waba.ui.Control |
height,
next,
parent,
width,
x,
y |
Methods inherited from class mWaba.gui.mCanvas |
checkScrolls,
doBorder,
doPaint,
doScroll,
fixOrigin,
getActual,
getBuffer,
getCurrent,
getMySize,
getPercent,
getVisible,
getVisibleArea,
onScroll,
onSetOrigin,
reduceClip,
scroll,
scroll,
setOrigin,
setServer,
updateScrollServer |
Methods inherited from class mWaba.gui.mControl |
add,
addListener,
addToFront,
amFlat,
amOnTopFrame,
amSmall,
callBack,
checkHasModifier,
checkPenTransparent,
consume,
contains,
doBackground,
doPaintChildren,
dragged,
editable,
enabled,
fixSizeAt,
getBackground,
getChildren,
getControlBuffer,
getControlBuffer,
getDim,
getFont,
getFontMetrics,
getForeground,
getFrame,
getFrameOrContainer,
getGraphics,
getNext,
getPosInFrame,
getPreferredSize,
getSurface,
gotFocus,
handedPenEvent,
handOffPenEvent,
handOffPenEvent,
hasModifier,
inheritModifiers,
isOnMe,
lostFocus,
makeFrameTopMost,
modify,
modifyAll,
modifyAll,
notifyAction,
onEvent,
onKeyEvent,
onLabelPenEvent,
onPaint,
onPenEvent,
paintBackground,
paintChildren,
penClicked,
penDoubleClicked,
penHeld,
penPressed,
penReleased,
postEvent,
recalculateSize,
redisplay,
remove,
removeListener,
repaint,
repaintDataNow,
repaintNow,
repaintNow,
requestCallBack,
requestResizeTo,
resetRect,
restore,
sendToListeners,
set,
setNext,
setParent,
setRect,
show,
shown,
startDragging,
stopDragging,
ticked,
visible |
Methods inherited from class waba.ui.Container |
findChild |
Methods inherited from class waba.ui.Control |
addTimer,
contains,
createGraphics,
getFontMetrics,
getMainWindow,
getParent,
getRect,
removeTimer |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
HStretch
public static final int HStretch
Left
public static final int Left
Right
public static final int Right
HCenter
public static final int HCenter
VStretch
public static final int VStretch
Top
public static final int Top
Bottom
public static final int Bottom
VCenter
public static final int VCenter
Fill
public static final int Fill
Center
public static final int Center
defaultAddToMeCellConstraints
public int defaultAddToMeCellConstraints
defaultAddToMeControlConstraints
public int defaultAddToMeControlConstraints
hGap
public int hGap
vGap
public int vGap
equalWidths
public boolean equalWidths
childListeners
protected Vector childListeners
made
protected boolean made
grid
protected Grid grid
myControls
public Vector myControls
mPanel
public mPanel()
addChildListener
public void addChildListener(EventListener list)
removeChildListener
public void removeChildListener(EventListener list)
sendToChildListeners
public void sendToChildListeners(waba.ui.Event ev)
doPaintData
public void doPaintData(waba.fx.Graphics g)
- Overrides:
- doPaintData in class mControl
getChildren
public Enumeration getChildren(int dir)
- Overrides:
- getChildren in class mControl
add
public ControlEntry add(waba.ui.Control ctrl,
boolean lastInRow)
addNext
public ControlEntry addNext(waba.ui.Control ctrl)
addLast
public ControlEntry addLast(waba.ui.Control ctrl)
fillInColumns
public void fillInColumns(int num)
calculatePreferredSize
protected void calculatePreferredSize()
- Overrides:
- calculatePreferredSize in class mControl
make
public void make()
- Overrides:
- make in class mControl
resizeTo
public void resizeTo(int width,
int height)
- Overrides:
- resizeTo in class mControl
reShow
public void reShow(int x,
int y,
int toWidth,
int toHeight)
- Force a recalculation of all preferredSize() and resizing/positioning of the panel.
onControlEvent
public void onControlEvent(waba.ui.ControlEvent ev)
- Overrides:
- onControlEvent in class mControl