mWaba.gui.control
Class mTabbedPanel

java.lang.Object
  |
  +--waba.ui.Control
        |
        +--waba.ui.Container
              |
              +--mWaba.gui.mControl
                    |
                    +--mWaba.gui.mCanvas
                          |
                          +--mWaba.gui.mPanel
                                |
                                +--mWaba.gui.control.mTabbedPanel

public class mTabbedPanel
extends mPanel
implements MultiPanel


Field Summary
 CardPanel cardPanel
           
protected  mButton left
           
protected  mButton right
           
protected  mWaba.gui.control.TabsPanel tabs
           
protected  mPanel top
           
 
Fields inherited from class mWaba.gui.mPanel
Bottom, Center, childListeners, defaultAddToMeCellConstraints, defaultAddToMeControlConstraints, equalWidths, Fill, grid, HCenter, hGap, HStretch, Left, made, myControls, Right, Top, VCenter, vGap, VStretch
 
Fields inherited from class mWaba.gui.mCanvas
hasBorder, origin, raised, recessed, scrollServer, virtualSize
 
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
 
Constructor Summary
mTabbedPanel()
           
 
Method Summary
 ControlEntry addItem(waba.ui.Control item, java.lang.String tabName, java.lang.String longName)
           
 void checkLeftRight()
           
 void doPaint(waba.fx.Graphics g, waba.fx.Rect r)
           
 void make()
           
 void newSelection()
           
 void onControlEvent(waba.ui.ControlEvent ev)
           
 void select(waba.ui.Control item)
           
 void select(int index)
           
 void select(java.lang.String tabName)
           
 
Methods inherited from class mWaba.gui.mPanel
add, addChildListener, addLast, addNext, calculatePreferredSize, doPaintData, fillInColumns, getChildren, removeChildListener, reShow, resizeTo, sendToChildListeners
 
Methods inherited from class mWaba.gui.mCanvas
checkScrolls, doBorder, 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
 

Field Detail

cardPanel

public CardPanel cardPanel

tabs

protected mWaba.gui.control.TabsPanel tabs

top

protected mPanel top

left

protected mButton left

right

protected mButton right
Constructor Detail

mTabbedPanel

public mTabbedPanel()
Method Detail

addItem

public ControlEntry addItem(waba.ui.Control item,
                            java.lang.String tabName,
                            java.lang.String longName)
Specified by:
addItem in interface MultiPanel

select

public void select(waba.ui.Control item)
Specified by:
select in interface MultiPanel

select

public void select(java.lang.String tabName)
Specified by:
select in interface MultiPanel

select

public void select(int index)
Specified by:
select in interface MultiPanel

make

public void make()
Overrides:
make in class mPanel

doPaint

public void doPaint(waba.fx.Graphics g,
                    waba.fx.Rect r)
Overrides:
doPaint in class mCanvas

checkLeftRight

public void checkLeftRight()

newSelection

public void newSelection()

onControlEvent

public void onControlEvent(waba.ui.ControlEvent ev)
Overrides:
onControlEvent in class mPanel