public class StatusLineGuiImpl extends StatusLine<GuiOutputManager>
| Modifier and Type | Field and Description |
|---|---|
private static int |
G
Constants used to draw right-bottom corner
|
private GuiColorResolver |
gc
Color resolver
|
private GuiDriver |
gd
Screen driver
|
private GuiFontResolver |
gf
Font resolver
|
private int |
widgetHeight
Widget height in pixels
|
private double |
widgetHeightChars
Widget height in characters
|
private WindowGuiImpl |
window
Parent window of this widget
|
color, config, isNull, labelText, maxLeninsets, listeners, location, LOG, mousePtr, nativeInsets, physicalLocation| Constructor and Description |
|---|
StatusLineGuiImpl(WidgetId id)
Hide base class public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attach(Window<GuiOutputManager> window)
Attach this widget to the specified window.
|
void |
draw()
Widget drawing method.
|
double |
height()
Get widget height.
|
private void |
init()
Status bar initialization.
|
double |
width()
Get widget width.
|
afterConfigUpdate, config, dimension, focusTraversable, getColor, getLabelText, getMaxLen, getText, initialize, minimumSize, processKeyEvent, requestFocus, setColor, setLength, setMaxLen, setText_setHidden, _setVisible, activateDirectManipulation, addFocusListener, addKeyListener, afterConfigUpdateBase, ancestor, ancestorId, autoResize, bounds, clear, clearWidget, clipRectangle, clipRectangle, clipWith, copyColors, copyState, createMouseHoverAction, deactivateDirectManipulation, debug, destroy, disable, disableTooltip, displayPhysicalLocation, drawCaret, enable, enableTooltip, enclosingFrame, findMouseSource, forceCursorOnFocus, forceVisibility, getActualBounds, getAndResetBitmap, getAndSetBitmap, getBitmapCopy, getCachedScreenLocation, getCachedScreenPhysicalLocation, getCustomMousePointer, getDefaultEvent, getEffectiveMousePointer, getId, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getPortableMouseEventCoordinates, getSelectedText, getState, getTextHeight, getTextHeightNative, getTextHeightNative, getTextWidth, getTextWidth, getTextWidthNative, getTextWidthNative, getVisiblePart, getZOrderClass, hasFocus, hasTooltip, hidden, hide, highlighted, ignoreAction, initialHeight, initialWidth, insets, isCurrent, isDirectManipulationActive, isDirectManipulationActiveOrInUIB, isDirectManipulationCapable, isDirectManipulationRequired, isDisplayed, isEnabled, isFocusable, isHeader, isMouseDrag, isRealized, isRepaintDisabled, isRMBEntrySupported, isScreenLocationCached, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, manageSystemActions, mouseActions, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, moveToBottom, moveToTop, name, navigable, oleDoDrop, oleDrag, oleDragging, oleStartDragging, onOleDragging, onOleDropEnd, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, postprocessConfig, prepParentLocation, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyEventForSelectableWidget, processKeyListeners, processMnemonic, processMnemonicImpl, processSystemKey, raiseLegacyMouseEvents, reflectAncestorChange, reflectLocationChanged, reflectSizeChanged, refresh, registerWidgetListener, repaint, repaint, repaint, requestFocus, requestSync, resetBitmap, resizeTo, resolveFont, resolvePopupMenuId, resolveTitleFont, screen, screenDimension, screenHeight, screenLocation, screenPhysicalLocation, screenWidth, setBitmap, setCachedScreenLocation, setCachedScreenPhysicalLocation, setDirectManipulationActive, setEnabled, setHidden, setHighlighted, setLocation, setLocation, setMousePointer, setMousePointer, setParent, setPhysicalDimensionInt, setPhysicalLocation, setSensitiveForUIB, setState, setVisible, setWindow, show, showPopupMenu, supportsCustomMousePointer, sync, topLevelWindow, toString, translate, triggerLocationChanged, unrealize, unregisterWidgetListener, updateSizeWorker, updateSystemParent, widgetRealized, widgetStateChanged, windowclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptsEscAsAnyKey, acceptTrigger, canMovetoTop, completeTrigger, defaultMousePtr, enforceDefaultMousePtr, getIdForTrigger, getLegacyWidget, getTriggerWidget, getTriggerWidget, hasFocus, ignoreEnable, isCurrent, isDirectManipulable, isDroppable, isInitialValueLayout, isLegacyFocus, isProcessProgressEvent, maySwitchFocus, parent, refreshWidget, requestFocus, startTrigger, systemFocusGrabbed, validateDisplayValueprivate static final int G
private GuiDriver gd
private GuiColorResolver gc
private WindowGuiImpl window
private GuiFontResolver gf
private int widgetHeight
private double widgetHeightChars
StatusLineGuiImpl(WidgetId id)
Create a widget representing the window's status line.
id - The widget's ID.public void draw()
draw in interface Widget<GuiOutputManager>draw in class StatusLine<GuiOutputManager>public void attach(Window<GuiOutputManager> window)
attach in class StatusLine<GuiOutputManager>window - The parent window.public double height()
height in interface Widget<GuiOutputManager>height in class StatusLine<GuiOutputManager>Widget.height()public double width()
width in interface Widget<GuiOutputManager>width in class StatusLine<GuiOutputManager>Widget.width()private void init()