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, toScreen
dispose, isDisposed
addDisposeListener, removeDisposeListener
addShowingStateListener, removeShowingStateListener
getLayoutConstraints, getMaxSize, getMinSize, getPreferredSize, setLayoutConstraints, setToolTipText
getBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisible
getUiReference, isEnabled, setEnabled
addComponentListener, removeComponentListener
addFocusListener, removeFocusListener
addKeyListener, removeKeyListener
addMouseListener, removeMouseListener
addMouseMotionListener, removeMouseMotionListener
addPopupDetectionListener, removePopupDetectionListener
addParentListener, removeParentListener
void setParent(IContainer parent)
parent
- The parent to setIContainer getParent()
IWidget
IControl getRoot()
IWidget
IDragSource 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