public interface IControl extends IComponent, IControlCommon, IParentObservable<IContainer>
| Modifier and Type | Method and Description |
|---|---|
IDragSource |
getDragSource()
Gets the drag source of the control
|
IDropTarget |
getDropTarget()
Gets the drop target of the control
|
IContainer |
getParent()
Gets the parent of the widget
|
IControl |
getRoot()
Gets the root widget of the widget
If the widget is a composed widget, the root widget
of the composed widget will be returned.
|
void |
setMaxSize(Dimension maxSize)
Sets the maximal size
If set to null, the default maximal size will be used
|
void |
setMinSize(Dimension minSize)
Sets the minimum size of this control.
|
void |
setParent(IContainer parent)
Sets the parent of the container.
|
void |
setPreferredSize(Dimension preferredSize)
Sets the preferred size of this control.
|
createPopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreendispose, isDisposedaddDisposeListener, removeDisposeListeneraddShowingStateListener, removeShowingStateListenergetLayoutConstraints, getMaxSize, getMinSize, getPreferredSize, setLayoutConstraints, setToolTipTextgetBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisiblegetUiReference, isEnabled, setEnabledaddComponentListener, removeComponentListeneraddFocusListener, removeFocusListeneraddKeyListener, removeKeyListeneraddMouseListener, removeMouseListeneraddMouseMotionListener, removeMouseMotionListeneraddPopupDetectionListener, removePopupDetectionListeneraddParentListener, removeParentListenervoid setParent(IContainer parent)
parent - The parent to setIContainer getParent()
IWidgetIControl getRoot()
IWidgetIDragSource getDragSource()
IDropTarget getDropTarget()
void setMinSize(Dimension minSize)
minSize - The minimum size to set or null for default min sizevoid setPreferredSize(Dimension preferredSize)
preferredSize - The preferred size to set or null for default preferred sizevoid setMaxSize(Dimension maxSize)
maxSize - The maximal size to set or null for default max sizeSiehe auch Jowidgets Nutzerhandbuch