public interface ToolkitComponent
TICComponent
.
Note that implementing classes must always provide constructors that match the parameters expected by the
associated TICComponent
. Additional parameters are specified by
TICComponent.getSwingComponentConstructorParameters(Object...)
or
TICComponent.getSWTComponentConstructorParameters(Object...)
. All constructors must have the
following set of parameters, possible followed by additional parameters defined by the TIC component:
SomeSwingComponent(TICComponent owner)
SomeSWTComponent(TICComponent owner, Composite parent, int style)
Modifier and Type | Method and Description |
---|---|
void |
assignSize()
Adopts the current size provided by the parent TIC component to this GUI toolkit component.
|
TICComponent |
getIndependentComponent()
Returns the
TICComponent that is displayed by this GUI element. |
java.awt.Point |
getLocationInParent()
Returns the coordinates of this component relative to its parent component.
|
TargetToolkit |
getTargetToolkit()
Returns the toolkit type this instance can be used with.
|
java.awt.Dimension |
getToolkitSize()
Returns the current size of this component.
|
boolean |
isFocusOwner()
Determines whether this component currently has the user-interface focus.
|
void |
repaint()
Repaints the contents of this instance.
|
void |
requestFocus()
Requests the focus for the toolkit component to receive keyboard events.
|
TargetToolkit getTargetToolkit()
TICComponent getIndependentComponent()
TICComponent
that is displayed by this GUI element.void repaint()
java.awt.Point getLocationInParent()
boolean isFocusOwner()
true
if this component currently has the user-interface focus, false
otherwisevoid requestFocus()
java.awt.Dimension getToolkitSize()
void assignSize()