public class ActivexFrame<O extends OutputManager<?>> extends AbstractWidget<O> implements WidgetWithConfig<ControlFrameConfig>
| Modifier and Type | Field and Description |
|---|---|
protected ControlFrameConfig |
config
ActivexFrame attributes.
|
private GuiDriver<?,?> |
gd
Screen driver
|
insets, listeners, location, LOG, mousePtr, nativeInsets, physicalLocation| Constructor and Description |
|---|
ActivexFrame(WidgetId id,
Container<O> owner)
This constructor creates an ActivexFrame.
|
ActivexFrame(WidgetId id,
ControlFrameConfig cfg)
Special constructor used to restore component using given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterConfigUpdate(ControlFrameConfig beforeUpdate)
The method is called after the configuration associated with the implementor changes.
|
ControlFrameConfig |
config()
Provide access to the attributes stored in the widget.
|
Dimension |
dimension()
Get widget dimension.
|
void |
draw()
Draw widget.
|
boolean |
focusTraversable()
This component will not receive an input focus when Tab or Shift-Tab is pressed.
|
double |
height()
Calculate the height of this widget.
|
void |
initialize(WidgetId id,
ControlFrameConfig cfg)
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 |
isFocusable()
Checks whether this widget can receive focus generally.
|
Dimension |
minimumSize()
Get widget minimum size.
|
double |
width()
Calculate the width of this widget.
|
_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, 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, validateDisplayValueprivate GuiDriver<?,?> gd
protected ControlFrameConfig config
public ActivexFrame(WidgetId id, Container<O> owner)
owner - The parent container, frame which will include this ActivexFrame.id - The widget's ID.public ActivexFrame(WidgetId id, ControlFrameConfig cfg)
Call initialize(com.goldencode.p2j.ui.WidgetId, com.goldencode.p2j.ui.ControlFrameConfig) to finish the widget initialization.
id - The widget's ID.cfg - Configuration data.public void initialize(WidgetId id, ControlFrameConfig cfg)
This API is called after the widget is created and added to the registry.
initialize in interface WidgetWithConfig<ControlFrameConfig>id - The widget's ID.cfg - The config used to initialize this widget.public ControlFrameConfig config()
config in interface Widget<O extends OutputManager<?>>config in interface ConfigOwner<ControlFrameConfig>config in class AbstractWidget<O extends OutputManager<?>>public void afterConfigUpdate(ControlFrameConfig beforeUpdate)
afterConfigUpdate in interface ConfigOwner<ControlFrameConfig>beforeUpdate - Config reference capturing the config state before the owner's config was modified.public Dimension dimension()
dimension in interface Widget<O extends OutputManager<?>>dimension in class AbstractWidget<O extends OutputManager<?>>public void draw()
This method should have been empty, abstract or delegate the draw event to contained client-side Java emulated ActiveX. For debugging purpose, a crossed rectangle is drawn, at this moment.
draw in interface Widget<O extends OutputManager<?>>draw in class AbstractWidget<O extends OutputManager<?>>public double height()
height in interface Widget<O extends OutputManager<?>>height in class AbstractWidget<O extends OutputManager<?>>public Dimension minimumSize()
minimumSize in interface Widget<O extends OutputManager<?>>minimumSize in class AbstractWidget<O extends OutputManager<?>>public double width()
width in interface Widget<O extends OutputManager<?>>width in class AbstractWidget<O extends OutputManager<?>>public boolean focusTraversable()
focusTraversable in interface Widget<O extends OutputManager<?>>focusTraversable in class AbstractWidget<O extends OutputManager<?>>false.public boolean isFocusable()
isFocusable in interface Widget<O extends OutputManager<?>>isFocusable in class AbstractWidget<O extends OutputManager<?>>false.