|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttotalcross.ui.gfx.GfxSurface
totalcross.ui.Control
totalcross.ui.Container
com.tekann.ui.Toolbar
public class Toolbar
Toolbar control.
| Field Summary | |
|---|---|
static byte |
HORIZONTAL
Horizontal orientation. |
static byte |
VERTICAL
Vertical orientation. |
| Fields inherited from class totalcross.ui.Container |
|---|
alwaysEraseBackground, BORDER_LOWERED, BORDER_NONE, BORDER_RAISED, BORDER_SIMPLE, nextTransitionEffect, tabOrder, TRANSITION_CLOSE, TRANSITION_NONE, TRANSITION_OPEN, transitionEffect |
| Fields inherited from class totalcross.ui.Control |
|---|
AFTER, appId, appObj, BEFORE, BOTTOM, BOTTOM_OF, CENTER, CENTER_OF, clearValueInt, clearValueStr, enableUpdateScreen, FILL, FIT, fm, focusOnPenDown, focusTraversable, KEEP, LEFT, PREFERRED, RANGE, RIGHT, RIGHT_OF, SAME, TOP, transparentBackground, WILL_RESIZE |
| Constructor Summary | |
|---|---|
Toolbar(byte horientation)
|
|
Toolbar(byte horientation,
int insideGap)
|
|
| Method Summary | |
|---|---|
totalcross.ui.Button |
addButton(totalcross.ui.image.Image image)
|
totalcross.ui.Button |
addButton(java.lang.String text)
|
totalcross.ui.Button |
addButton(java.lang.String text,
totalcross.ui.image.Image image,
int textPosition,
int gap)
|
void |
addTool(totalcross.ui.Control control)
|
int |
getPreferredHeight()
|
int |
getPreferredWidth()
|
| Methods inherited from class totalcross.ui.Container |
|---|
add, add, add, add, add, broadcastEvent, clear, findChild, findNearestChild, findNextFocusControl, getBorderStyle, getChildren, getClientRect, getFocusableControls, getInsets, incLastX, incLastY, initUI, onPaint, paintChildren, remove, removeAll, resize, resizeHeight, resizeWidth, setBorderStyle, setEnabled, setHighlighting, setInsets, swapToTopmostWindow |
| Methods inherited from class totalcross.ui.Control |
|---|
_onEvent, addFocusListener, addGridListener, addHighlightListener, addKeyListener, addPenListener, addPressListener, addTimer, addTimer, addTimerListener, addWindowListener, changeHighlighted, contains, getAbsoluteRect, getBackColor, getEventListeners, getFont, getForeColor, getGraphics, getHeight, getNext, getParent, getParentWindow, getPos, getPrev, getRect, getSize, getWidth, getX, getX2, getY, getY2, handleGeographicalFocusChangeKeys, isDisplayed, isEnabled, isInsideOrNear, isVisible, isVisibleAndInside, onEvent, postEvent, postPressedEvent, removeFocusListener, removeGridListener, removeHighlightListener, removeKeyListener, removePenListener, removePressListener, removeTimer, removeTimerListener, removeWindowListener, repaint, repaintNow, reposition, requestFocus, resetSetPositions, setBackColor, setBackForeColors, setFocusLess, setFont, setForeColor, setRect, setRect, setRect, setRect, setVisible, translateFromOrigin, uiStyleChanged, updateScreen |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte HORIZONTAL
public static final byte VERTICAL
| Constructor Detail |
|---|
public Toolbar(byte horientation)
public Toolbar(byte horientation,
int insideGap)
| Method Detail |
|---|
public totalcross.ui.Button addButton(totalcross.ui.image.Image image)
public totalcross.ui.Button addButton(java.lang.String text)
public totalcross.ui.Button addButton(java.lang.String text,
totalcross.ui.image.Image image,
int textPosition,
int gap)
public void addTool(totalcross.ui.Control control)
public int getPreferredHeight()
getPreferredHeight in class totalcross.ui.Controlpublic int getPreferredWidth()
getPreferredWidth in class totalcross.ui.Control
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||