public class RectangleGuiImpl extends Rect<GuiOutputManager>
| Modifier and Type | Field and Description |
|---|---|
private GuiColorResolver |
gc
Color resolver.
|
private GuiDriver |
gd
Screen driver.
|
insets, listeners, location, LOG, mousePtr, nativeInsets, physicalLocation| Constructor and Description |
|---|
RectangleGuiImpl(WidgetId id,
Container<GuiOutputManager> owner)
This constructor creates a rectangle.
|
RectangleGuiImpl(WidgetId id,
RectangleConfig cfg)
Special constructor used to restore component using given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw()
Draw the rectangle.
|
ZOrderClass |
getZOrderClass()
Get the Z-Order class
|
void |
initialize(WidgetId id,
RectangleConfig wcfg)
Replacement API for the logic which should exist in the widget's c'tor, but the logic
can't be executed as it depends on the widget being registered into the official registry.
|
boolean |
isInitialValueLayout()
Reports if the initial height/width of the widget should take precedence in the frame layout
algorithm.
|
protected int[] |
mouseActions()
Determine the mouse actions processed by this widget.
|
afterConfigUpdate, config, dimension, focusTraversable, height, minimumSize, setSize, width_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, 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, 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, processKeyEvent, 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, isLegacyFocus, isProcessProgressEvent, maySwitchFocus, parent, refreshWidget, requestFocus, requestFocus, startTrigger, systemFocusGrabbed, validateDisplayValueprivate GuiDriver gd
private GuiColorResolver gc
RectangleGuiImpl(WidgetId id, Container<GuiOutputManager> owner)
id - The widget's ID.owner - The parent container, frame which will include this
rectangle.public RectangleGuiImpl(WidgetId id, RectangleConfig cfg)
id - The widget's ID.cfg - Configuration data.public void initialize(WidgetId id, RectangleConfig wcfg)
This API is called after the widget is created and added to the registry.
initialize in interface WidgetWithConfig<RectangleConfig>initialize in class Rect<GuiOutputManager>id - The widget's ID.wcfg - The config used to initialize this widget.public void draw()
draw in interface Widget<GuiOutputManager>draw in class Rect<GuiOutputManager>public boolean isInitialValueLayout()
true if the initial values control layout.public ZOrderClass getZOrderClass()
getZOrderClass in interface Widget<GuiOutputManager>getZOrderClass in class AbstractWidget<GuiOutputManager>protected int[] mouseActions()
mouseActions in class AbstractWidget<GuiOutputManager>