private class FontChooserGuiImpl.Preview extends AbstractWidget implements ConfigOwner
| Modifier and Type | Field and Description |
|---|---|
(package private) BaseConfig |
myConfig
The widget configuration for
Previews. |
private int |
NATIVE_HEIGHT
Constant representing the height of this widget.
|
private int |
NATIVE_WIDTH
Constant representing the total width of this widget.
|
private static java.lang.String |
PREVIEW_STRING
The short text used to show the preview.
|
insets, listeners, location, LOG, mousePtr, nativeInsets, physicalLocation| Modifier | Constructor and Description |
|---|---|
private |
Preview()
The constructor creates the preview object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterConfigUpdate(WidgetConfig beforeUpdate)
The method is called after the configuration associated with the owner changes.
|
WidgetConfig |
config()
Returns config instance associated with this instance.
|
Dimension |
dimension()
Get widget dimension.
|
void |
draw()
Draw the picker widget.
|
double |
height()
Get widget height.
|
Dimension |
minimumSize()
Get widget minimum size.
|
double |
width()
Get widget 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, focusTraversable, 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, 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, isInitialValueLayout, isLegacyFocus, isProcessProgressEvent, maySwitchFocus, parent, refreshWidget, requestFocus, requestFocus, startTrigger, systemFocusGrabbed, validateDisplayValueBaseConfig myConfig
Previews.private final int NATIVE_WIDTH
private final int NATIVE_HEIGHT
private static final java.lang.String PREVIEW_STRING
public void draw()
draw in interface Widgetdraw in class AbstractWidgetpublic double width()
width in interface Widgetwidth in class AbstractWidgetpublic double height()
height in interface Widgetheight in class AbstractWidgetpublic Dimension dimension()
dimension in interface Widgetdimension in class AbstractWidgetpublic Dimension minimumSize()
minimumSize in interface WidgetminimumSize in class AbstractWidgetpublic WidgetConfig config()
config in interface Widgetconfig in interface ConfigOwnerconfig in class AbstractWidgetpublic void afterConfigUpdate(WidgetConfig beforeUpdate)
afterConfigUpdate in interface ConfigOwnerbeforeUpdate - Config reference capturing the config state before
the owner's config was modified.