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, maxLen
insets, 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, hidden, hide, highlighted, ignoreAction, initialHeight, initialWidth, insets, isCurrent, isDirectManipulationActive, 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, reflectLocationChange, refresh, registerWidgetStateListener, repaint, repaint, repaint, requestFocus, requestSync, resetBitmap, resizeTo, resolveFont, resolvePopupMenuId, resolveTitleFont, screen, screenDimension, screenHeight, screenLocation, screenPhysicalLocation, screenWidth, setBitmap, setCachedScreenLocation, setCachedScreenPhysicalLocation, setEnabled, setHidden, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, setVisible, show, showPopupMenu, supportsCustomMousePointer, sync, topLevelWindow, toString, translate, unrealize, unregisterWidgetStateListener, updateSizeWorker, widgetStateChanged, window
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canMovetoTop, defaultMousePtr, enforceDefaultMousePtr, getLegacyWidget, getTriggerWidget, getTriggerWidget, hasFocus, ignoreEnable, isDirectManipulable, isDroppable, isInitialValueLayout, isLegacyFocus, maySwitchFocus, parent, refreshWidget, requestFocus, systemFocusGrabbed, validateDisplayValue
private 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()