@Deprecated public class JoDialog extends java.lang.Object implements IFrame
| Constructor and Description |
|---|
JoDialog(IDialogDescriptor setup)
Deprecated.
|
JoDialog(IWindow parent)
Deprecated.
|
JoDialog(IWindow parent,
IDialogDescriptor setup)
Deprecated.
|
JoDialog(IWindow parent,
java.lang.String title)
Deprecated.
|
JoDialog(java.lang.String title)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<M_WIDGET_TYPE extends IControl> |
add(ICustomWidgetCreator<M_WIDGET_TYPE> creator)
Deprecated.
Creates and adds an control to this container
|
<M_WIDGET_TYPE extends IControl> |
add(ICustomWidgetCreator<M_WIDGET_TYPE> creator,
java.lang.Object layoutConstraints)
Deprecated.
Creates and adds an control to this container
|
<M_WIDGET_TYPE extends IControl> |
add(int index,
ICustomWidgetCreator<M_WIDGET_TYPE> creator)
Deprecated.
Creates and adds an control to this container
|
<M_WIDGET_TYPE extends IControl> |
add(int index,
ICustomWidgetCreator<M_WIDGET_TYPE> creator,
java.lang.Object layoutConstraints)
Deprecated.
Creates and adds an control to this container
|
<M_WIDGET_TYPE extends IControl> |
add(int index,
IWidgetDescriptor<? extends M_WIDGET_TYPE> descriptor)
Deprecated.
Creates and adds an control to this container.
|
<M_WIDGET_TYPE extends IControl> |
add(int index,
IWidgetDescriptor<? extends M_WIDGET_TYPE> descriptor,
java.lang.Object layoutConstraints)
Deprecated.
Creates and adds an control to this container.
|
<M_WIDGET_TYPE extends IControl> |
add(IWidgetDescriptor<? extends M_WIDGET_TYPE> descriptor)
Deprecated.
Creates and adds an control to this container.
|
<M_WIDGET_TYPE extends IControl> |
add(IWidgetDescriptor<? extends M_WIDGET_TYPE> descriptor,
java.lang.Object layoutConstraints)
Deprecated.
Creates and adds an control to this container.
|
<P_WIDGET_TYPE extends org.jowidgets.tools.powo.Component<? extends IControl,?>> |
add(P_WIDGET_TYPE widget)
Deprecated.
|
<P_WIDGET_TYPE extends org.jowidgets.tools.powo.Component<? extends IControl,?>> |
add(P_WIDGET_TYPE widget,
java.lang.Object layoutConstraints)
Deprecated.
|
void |
addComponentListener(IComponentListener componentListener)
Deprecated.
Adds a component listener
|
void |
addComponentListenerRecursive(IListenerFactory<IComponentListener> listenerFactory)
Deprecated.
|
void |
addContainerListener(IContainerListener listener)
Deprecated.
Adds a container listener
|
void |
addContainerRegistry(IContainerRegistry registry)
Deprecated.
Adds a container registry recursively.
|
void |
addDisposeListener(IDisposeListener listener)
Deprecated.
Adds a dispose listener
|
void |
addFocusListener(IFocusListener listener)
Deprecated.
Adds a focus listener
|
void |
addFocusListenerRecursive(IListenerFactory<IFocusListener> listenerFactory)
Deprecated.
|
void |
addKeyListener(IKeyListener listener)
Deprecated.
Adds a key listener
|
void |
addKeyListenerRecursive(IListenerFactory<IKeyListener> listenerFactory)
Deprecated.
|
JoLabel |
addLabel(IImageConstant icon,
java.lang.String text,
java.lang.String tooltipText,
java.lang.Object layoutConstraints)
Deprecated.
|
JoLabel |
addLabel(java.lang.String text)
Deprecated.
|
JoLabel |
addLabel(java.lang.String text,
java.lang.Object layoutConstraints)
Deprecated.
|
JoLabel |
addLabel(java.lang.String text,
java.lang.String tooltipText,
java.lang.Object layoutConstraints)
Deprecated.
|
void |
addMouseListener(IMouseListener mouseListener)
Deprecated.
Adds a mouse listener
|
void |
addMouseListenerRecursive(IListenerFactory<IMouseListener> listenerFactory)
Deprecated.
|
void |
addMouseMotionListener(IMouseMotionListener listener)
Deprecated.
Adds a mouse motion listener
|
void |
addPopupDetectionListener(IPopupDetectionListener listener)
Deprecated.
Adds a popup detection listener
|
void |
addPopupDetectionListenerRecursive(IListenerFactory<IPopupDetectionListener> listenerFactory)
Deprecated.
|
void |
addPopupMenu(JoPopupMenu popupMenu)
Deprecated.
|
void |
addShowingStateListener(IShowingStateListener listener)
Deprecated.
Adds a showing state listener
|
void |
addWindowListener(IWindowListener listener)
Deprecated.
Adds a window listener
|
static IDialogBluePrint |
bluePrint()
Deprecated.
|
static IDialogBluePrint |
bluePrint(java.lang.String title)
Deprecated.
|
static IDialogBluePrint |
bluePrint(java.lang.String title,
IImageConstant icon)
Deprecated.
|
void |
centerLocation()
Deprecated.
Centers the location relative to the parent bounds
|
Dimension |
computeDecoratedSize(Dimension clientAreaSize)
Deprecated.
Gets the decorated size (size with border / insets ) for a given client area size
|
<M_WIDGET_TYPE extends IDisplay,DESCRIPTOR_TYPE extends IWidgetDescriptor<M_WIDGET_TYPE>> |
createChildWindow(DESCRIPTOR_TYPE descriptor)
Deprecated.
Creates a child window with this window as parent
|
IMenuBar |
createMenuBar()
Deprecated.
Creates a new menu bar or returns a earlier created menu bar.
|
IPopupMenu |
createPopupMenu()
Deprecated.
Creates a popup menu as a child of this component
|
void |
dispose()
Deprecated.
Disposes the widgets.
|
Position |
fromComponent(IComponentCommon component,
Position componentPosition)
Deprecated.
Transforms a position from another components coordinate system to
this components coordinate system
|
IColorConstant |
getBackgroundColor()
Deprecated.
Gets the background color
|
Rectangle |
getBounds()
Deprecated.
Gets the bounds of the component
|
java.util.List<IControl> |
getChildren()
Deprecated.
Gets the containers children
|
java.util.List<IDisplay> |
getChildWindows()
Deprecated.
Gets the child windows of this window as a unmodifiable copy
|
Rectangle |
getClientArea()
Deprecated.
Gets the client area of the container.
|
IColorConstant |
getForegroundColor()
Deprecated.
Gets the foreground color
|
IMenuBarModel |
getMenuBarModel()
Deprecated.
Gets the menu bar model of this frame.
|
IWindow |
getParent()
Deprecated.
Gets the parent of the widget
|
Rectangle |
getParentBounds()
Deprecated.
Gets the parent bounds of this window.
|
Position |
getPosition()
Deprecated.
Gets the position of the component
|
IWidget |
getRoot()
Deprecated.
Gets the root widget of the widget
If the widget is a composed widget, the root widget
of the composed widget will be returned.
|
Dimension |
getSize()
Deprecated.
Gets the current size of the component.
|
java.lang.Object |
getUiReference()
Deprecated.
Gets the reference to the ui implementation of this widget.
|
boolean |
hasFocus()
Deprecated.
Gets the input focus state of the component.
|
boolean |
isDisposed()
Deprecated.
Checks if a widget is disposed
|
boolean |
isEnabled()
Deprecated.
Gets the enabled state
|
boolean |
isIconfied()
Deprecated.
|
boolean |
isInitialized()
Deprecated.
|
boolean |
isMaximized()
Deprecated.
|
boolean |
isReparentable()
Deprecated.
Gets the information if the component is reparentable
|
boolean |
isShowing()
Deprecated.
A root component is showing if it is visible.
|
boolean |
isVisible()
Deprecated.
Gets the visibility state.
|
void |
layout()
Deprecated.
Layouts the container
|
void |
layoutBegin()
Deprecated.
Informs that more than one operation on the containers children be
done and that now redraw should be done until layout end will be invoked
to avoid flickering.
|
void |
layoutEnd()
Deprecated.
Layouts the container
|
void |
layoutLater()
Deprecated.
Layouts the container later in the event queue.
|
void |
pack()
Deprecated.
Resizes the window to its preferred size and layouts its underlying container
|
void |
redraw()
Deprecated.
Marks the widget that a redraw is necessary
|
boolean |
remove(IControl control)
Deprecated.
Removes a control from this container.
|
void |
removeAll()
Deprecated.
Removes all child controls from the container.
|
void |
removeComponentListener(IComponentListener componentListener)
Deprecated.
Removes a component listener
|
void |
removeComponentListenerRecursive(IListenerFactory<IComponentListener> listenerFactory)
Deprecated.
|
void |
removeContainerListener(IContainerListener listener)
Deprecated.
Removes a container listener
|
void |
removeContainerRegistry(IContainerRegistry registry)
Deprecated.
Removes a container registry
|
void |
removeDisposeListener(IDisposeListener listener)
Deprecated.
Removes a dispose listener
|
void |
removeFocusListener(IFocusListener listener)
Deprecated.
Removes a focus listener
|
void |
removeFocusListenerRecursive(IListenerFactory<IFocusListener> listenerFactory)
Deprecated.
|
void |
removeKeyListener(IKeyListener listener)
Deprecated.
Removes a key listener
|
void |
removeKeyListenerRecursive(IListenerFactory<IKeyListener> listenerFactory)
Deprecated.
|
void |
removeMouseListener(IMouseListener mouseListener)
Deprecated.
Removes a mouse listener
|
void |
removeMouseListenerRecursive(IListenerFactory<IMouseListener> listenerFactory)
Deprecated.
|
void |
removeMouseMotionListener(IMouseMotionListener listener)
Deprecated.
Removes a mouse motion listener
|
void |
removePopupDetectionListener(IPopupDetectionListener listener)
Deprecated.
Removes a popup detection listener
|
void |
removePopupDetectionListenerRecursive(IListenerFactory<IPopupDetectionListener> listenerFactory)
Deprecated.
|
void |
removeShowingStateListener(IShowingStateListener listener)
Deprecated.
Removes a showing state listener
|
void |
removeWindowListener(IWindowListener listener)
Deprecated.
Removes a window listener
|
boolean |
requestFocus()
Deprecated.
Try's to get the focus for the component.
|
void |
setBackgroundColor(IColorConstant colorValue)
Deprecated.
Sets the background color.
|
void |
setBounds(Rectangle bounds)
Deprecated.
The the bounds of the component
|
void |
setCursor(Cursor cursor)
Deprecated.
Sets the cursor
|
void |
setDefaultButton(IButton defaultButton)
Deprecated.
|
void |
setEnabled(boolean enabled)
Deprecated.
Sets the widget enabled
|
void |
setForegroundColor(IColorConstant colorValue)
Deprecated.
Sets the foreground color.
|
void |
setIconfied(boolean iconfied)
Deprecated.
|
void |
setLayout(ILayoutDescriptor layoutDescriptor)
Deprecated.
Sets the layout for this container
|
<LAYOUT_TYPE extends ILayouter> |
setLayout(ILayoutFactory<LAYOUT_TYPE> layoutFactory)
Deprecated.
Sets the layouter for this container defined by a layout factory
|
void |
setMaximized(boolean maximized)
Deprecated.
|
void |
setMaxPackSize(Dimension size)
Deprecated.
Sets the max pack size of the window.
|
void |
setMenuBar(IMenuBarModel menuBarModel)
Deprecated.
Sets the menu bar for this frame.
|
void |
setMenuBar(JoMenuBar menuBar)
Deprecated.
|
void |
setMinPackSize(Dimension size)
Deprecated.
Sets the min pack size of the window.
|
void |
setMinSize(Dimension minSize)
Deprecated.
|
void |
setMinSize(int width,
int height)
Deprecated.
|
void |
setParent(IWindow parent)
Deprecated.
Sets the parent window.
|
void |
setPopupMenu(IMenuModel popupMenu)
Deprecated.
Sets a popup menu for this component defined by a model.
|
void |
setPosition(int x,
int y)
Deprecated.
Sets the position of the component defined by the x-coordinate and the y-coordinate
|
void |
setPosition(Position position)
Deprecated.
Sets the position of the component
|
void |
setRedrawEnabled(boolean enabled)
Deprecated.
Enables or disabled the redraw of a component and its children.
|
void |
setSize(Dimension size)
Deprecated.
Sets the size of the component.
|
void |
setSize(int width,
int height)
Deprecated.
Sets the size of the component defined by width and height
|
void |
setTabOrder(java.util.Collection<? extends IControl> tabOrder)
Deprecated.
Sets the tab order of the container's controls.
|
void |
setTabOrder(IControl... controls)
Deprecated.
Sets the tab order of the container's controls.
|
void |
setTitle(java.lang.String title)
Deprecated.
|
void |
setVisible(boolean visible)
Deprecated.
Sets the components visibility state.
|
Position |
toComponent(Position componentPosition,
IComponentCommon component)
Deprecated.
Transforms a position from this components coordinate system to another components
coordinate system
|
static JoDialog |
toJoDialog(IFrame widget)
Deprecated.
|
Position |
toLocal(Position screenPosition)
Deprecated.
Transforms a position in the screen coordinate system to this components coordinate system
|
Position |
toScreen(Position localPosition)
Deprecated.
Transforms a position in the coordinate system of this component to the screen coordinate system
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcenterLocation, createChildWindow, getChildWindows, setMaxPackSize, setMinPackSizeadd, add, add, add, add, add, add, add, addContainerRegistry, getChildren, layout, layoutLater, remove, removeContainerRegistry, setLayout, setTabOrder, setTabOrdercreatePopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreendispose, getRoot, isDisposedaddDisposeListener, removeDisposeListeneraddShowingStateListener, removeShowingStateListeneraddContainerListener, removeContainerListeneraddComponentListenerRecursive, addFocusListenerRecursive, addKeyListenerRecursive, addMouseListenerRecursive, addPopupDetectionListenerRecursive, removeComponentListenerRecursive, removeFocusListenerRecursive, removeKeyListenerRecursive, removeMouseListenerRecursive, removePopupDetectionListenerRecursivedispose, getParentBounds, packaddWindowListener, removeWindowListenercomputeDecoratedSize, getClientArea, layoutBegin, layoutEnd, removeAll, setLayoutgetBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisiblegetUiReference, isEnabled, setEnabledaddComponentListener, removeComponentListeneraddFocusListener, removeFocusListeneraddKeyListener, removeKeyListeneraddMouseListener, removeMouseListeneraddMouseMotionListener, removeMouseMotionListeneraddPopupDetectionListener, removePopupDetectionListenerpublic JoDialog(java.lang.String title)
public JoDialog(IWindow parent)
public JoDialog(IWindow parent, java.lang.String title)
public JoDialog(IWindow parent, IDialogDescriptor setup)
public JoDialog(IDialogDescriptor setup)
public static IDialogBluePrint bluePrint()
public static IDialogBluePrint bluePrint(java.lang.String title)
public static IDialogBluePrint bluePrint(java.lang.String title, IImageConstant icon)
public final void setMenuBar(JoMenuBar menuBar)
public IMenuBar createMenuBar()
IFramecreateMenuBar in interface IFramepublic IMenuBarModel getMenuBarModel()
IFramegetMenuBarModel in interface IFramepublic void setMenuBar(IMenuBarModel menuBarModel)
IFramesetMenuBar in interface IFramemenuBarModel - The model of the menu bar to add, must not be null;public void setDefaultButton(IButton defaultButton)
setDefaultButton in interface IFramepublic void setMinSize(Dimension minSize)
setMinSize in interface IFrameCommonpublic void setMinSize(int width,
int height)
setMinSize in interface IFramepublic void setTitle(java.lang.String title)
setTitle in interface IFrameCommonpublic void setMaximized(boolean maximized)
setMaximized in interface IFrameCommonpublic boolean isMaximized()
isMaximized in interface IFrameCommonpublic void setIconfied(boolean iconfied)
setIconfied in interface IFrameCommonpublic boolean isIconfied()
isIconfied in interface IFrameCommonpublic <M_WIDGET_TYPE extends IDisplay,DESCRIPTOR_TYPE extends IWidgetDescriptor<M_WIDGET_TYPE>> M_WIDGET_TYPE createChildWindow(DESCRIPTOR_TYPE descriptor)
IWindowcreateChildWindow in interface IWindowM_WIDGET_TYPE - The type of the created child windowDESCRIPTOR_TYPE - The type of the child windows descriptordescriptor - The child windows descriptorpublic final void addWindowListener(IWindowListener listener)
IWindowObservableaddWindowListener in interface IWindowObservablelistener - The listener to addpublic final void removeWindowListener(IWindowListener listener)
IWindowObservableremoveWindowListener in interface IWindowObservablelistener - The listener to removepublic final void setPosition(Position position)
IComponentCommonsetPosition in interface IComponentCommonposition - The position of the component, must not be nullpublic final Position getPosition()
IComponentCommongetPosition in interface IComponentCommonpublic final void setSize(Dimension size)
IComponentCommonsetSize in interface IComponentCommonsize - The size to set, must not be nullpublic final Dimension getSize()
IComponentCommongetSize in interface IComponentCommonpublic final Rectangle getParentBounds()
IWindowCommongetParentBounds in interface IWindowCommonpublic void setMinPackSize(Dimension size)
IWindowsetMinPackSize in interface IWindowsize - The min pack size to setIWindowCommon.pack()public void setMaxPackSize(Dimension size)
IWindowsetMaxPackSize in interface IWindowsize - The max pack size to setIWindowCommon.pack()public final void pack()
IWindowCommonpack in interface IWindowCommonpublic final void dispose()
IWidgetdispose in interface IWidgetdispose in interface IWindowCommonpublic final void centerLocation()
IWindowcenterLocation in interface IWindowIWindowCommon.getParentBounds()public final IWindow getParent()
IWidgetpublic void setParent(IWindow parent)
IDisplaypublic java.util.List<IDisplay> getChildWindows()
IWindowgetChildWindows in interface IWindowpublic boolean isReparentable()
IComponentisReparentable in interface IComponentpublic final <P_WIDGET_TYPE extends org.jowidgets.tools.powo.Component<? extends IControl,?>> P_WIDGET_TYPE add(P_WIDGET_TYPE widget)
public final <P_WIDGET_TYPE extends org.jowidgets.tools.powo.Component<? extends IControl,?>> P_WIDGET_TYPE add(P_WIDGET_TYPE widget, java.lang.Object layoutConstraints)
public final JoLabel addLabel(java.lang.String text)
public final JoLabel addLabel(java.lang.String text, java.lang.Object layoutConstraints)
public final JoLabel addLabel(java.lang.String text, java.lang.String tooltipText, java.lang.Object layoutConstraints)
public final JoLabel addLabel(IImageConstant icon, java.lang.String text, java.lang.String tooltipText, java.lang.Object layoutConstraints)
public void setTabOrder(java.util.Collection<? extends IControl> tabOrder)
IContainersetTabOrder in interface IContainertabOrder - the tab order to set or null to set the default tab behavior.public void setTabOrder(IControl... controls)
IContainersetTabOrder in interface IContainerpublic void addContainerListener(IContainerListener listener)
IContainerObservableaddContainerListener in interface IContainerObservablelistener - The listener to addpublic void removeContainerListener(IContainerListener listener)
IContainerObservableremoveContainerListener in interface IContainerObservablelistener - The listener to removepublic void addContainerRegistry(IContainerRegistry registry)
IContaineraddContainerRegistry in interface IContainerregistry - The registry to addpublic void removeContainerRegistry(IContainerRegistry registry)
IContainerremoveContainerRegistry in interface IContainerregistry - The registry to removepublic void addComponentListenerRecursive(IListenerFactory<IComponentListener> listenerFactory)
addComponentListenerRecursive in interface IRecursiveContainerObservablepublic void removeComponentListenerRecursive(IListenerFactory<IComponentListener> listenerFactory)
removeComponentListenerRecursive in interface IRecursiveContainerObservablepublic void addFocusListenerRecursive(IListenerFactory<IFocusListener> listenerFactory)
addFocusListenerRecursive in interface IRecursiveContainerObservablepublic void removeFocusListenerRecursive(IListenerFactory<IFocusListener> listenerFactory)
removeFocusListenerRecursive in interface IRecursiveContainerObservablepublic void addKeyListenerRecursive(IListenerFactory<IKeyListener> listenerFactory)
addKeyListenerRecursive in interface IRecursiveContainerObservablepublic void removeKeyListenerRecursive(IListenerFactory<IKeyListener> listenerFactory)
removeKeyListenerRecursive in interface IRecursiveContainerObservablepublic void addMouseListenerRecursive(IListenerFactory<IMouseListener> listenerFactory)
addMouseListenerRecursive in interface IRecursiveContainerObservablepublic void removeMouseListenerRecursive(IListenerFactory<IMouseListener> listenerFactory)
removeMouseListenerRecursive in interface IRecursiveContainerObservablepublic void addPopupDetectionListenerRecursive(IListenerFactory<IPopupDetectionListener> listenerFactory)
addPopupDetectionListenerRecursive in interface IRecursiveContainerObservablepublic void removePopupDetectionListenerRecursive(IListenerFactory<IPopupDetectionListener> listenerFactory)
removePopupDetectionListenerRecursive in interface IRecursiveContainerObservablepublic <M_WIDGET_TYPE extends IControl> M_WIDGET_TYPE add(int index, IWidgetDescriptor<? extends M_WIDGET_TYPE> descriptor, java.lang.Object layoutConstraints)
IContaineradd in interface IContainerM_WIDGET_TYPE - The type of the widget that is created, added and returnedindex - The index at which the control should be added in the containerdescriptor - The descriptor that describes the control to addlayoutConstraints - The layout constraints / data for the added controlpublic <M_WIDGET_TYPE extends IControl> M_WIDGET_TYPE add(int index, IWidgetDescriptor<? extends M_WIDGET_TYPE> descriptor)
IContaineradd in interface IContainerM_WIDGET_TYPE - The type of the widget that is created, added and returnedindex - The index at which the control should be added in the containerdescriptor - The descriptor that describes the control to addpublic final <M_WIDGET_TYPE extends IControl> M_WIDGET_TYPE add(IWidgetDescriptor<? extends M_WIDGET_TYPE> descriptor, java.lang.Object layoutConstraints)
IContaineradd in interface IContainerM_WIDGET_TYPE - The type of the widget that is created, added and returneddescriptor - The descriptor that describes the control to addlayoutConstraints - The layout constraints / data for the added controlpublic <M_WIDGET_TYPE extends IControl> M_WIDGET_TYPE add(IWidgetDescriptor<? extends M_WIDGET_TYPE> descriptor)
IContaineradd in interface IContainerM_WIDGET_TYPE - The type of the widget that is created, added and returneddescriptor - The descriptor that describes the control to addpublic java.util.List<IControl> getChildren()
IContainergetChildren in interface IContainerpublic boolean remove(IControl control)
IContainerremove in interface IContainercontrol - The control to removepublic final void setLayout(ILayoutDescriptor layoutDescriptor)
IContainerCommonsetLayout in interface IContainerCommonlayoutDescriptor - The layout to setpublic <LAYOUT_TYPE extends ILayouter> LAYOUT_TYPE setLayout(ILayoutFactory<LAYOUT_TYPE> layoutFactory)
IContainersetLayout in interface IContainerlayoutFactory - The layout to setpublic final void removeAll()
IContainerCommonremoveAll in interface IContainerCommonpublic Rectangle getClientArea()
IContainerCommongetClientArea in interface IContainerCommonpublic Dimension computeDecoratedSize(Dimension clientAreaSize)
IContainerCommoncomputeDecoratedSize in interface IContainerCommonclientAreaSize - The client area size to get the decorated size for.public void layout()
IContainerlayout in interface IContainerpublic void layoutLater()
IContainerlayoutLater in interface IContainerpublic final void layoutBegin()
IContainerCommonlayoutBegin in interface IContainerCommonpublic final void layoutEnd()
IContainerCommonlayoutEnd in interface IContainerCommonpublic <M_WIDGET_TYPE extends IControl> M_WIDGET_TYPE add(int index, ICustomWidgetCreator<M_WIDGET_TYPE> creator, java.lang.Object layoutConstraints)
IContaineradd in interface IContainerM_WIDGET_TYPE - The type of the widget that is created, added and returnedindex - The index at which the control should be added in the containercreator - The creator that creates the controllayoutConstraints - The layout constraints / data for the added controlpublic <M_WIDGET_TYPE extends IControl> M_WIDGET_TYPE add(int index, ICustomWidgetCreator<M_WIDGET_TYPE> creator)
IContaineradd in interface IContainerM_WIDGET_TYPE - The type of the widget that is created, added and returnedindex - The index at which the control should be added in the containercreator - The creator that creates the controlpublic final <M_WIDGET_TYPE extends IControl> M_WIDGET_TYPE add(ICustomWidgetCreator<M_WIDGET_TYPE> creator, java.lang.Object layoutConstraints)
IContaineradd in interface IContainerM_WIDGET_TYPE - The type of the widget that is created, added and returnedcreator - The creator that creates the controllayoutConstraints - The layout constraints / data for the added controlpublic <M_WIDGET_TYPE extends IControl> M_WIDGET_TYPE add(ICustomWidgetCreator<M_WIDGET_TYPE> creator)
IContaineradd in interface IContainerM_WIDGET_TYPE - The type of the widget that is created, added and returnedcreator - The creator that creates the controlpublic final void addPopupMenu(JoPopupMenu popupMenu)
public final void setForegroundColor(IColorConstant colorValue)
IComponentCommonsetForegroundColor in interface IComponentCommoncolorValue - The color to set, may be nullpublic final void setBackgroundColor(IColorConstant colorValue)
IComponentCommonsetBackgroundColor in interface IComponentCommoncolorValue - The color to set, may be nullpublic void setVisible(boolean visible)
IComponentCommonsetVisible in interface IComponentCommonvisible - The visibility state to setpublic void setCursor(Cursor cursor)
IComponentCommonsetCursor in interface IComponentCommoncursor - The cursor to setpublic void addPopupDetectionListener(IPopupDetectionListener listener)
IPopupDetectionObservableaddPopupDetectionListener in interface IPopupDetectionObservablelistener - The listener to addpublic void removePopupDetectionListener(IPopupDetectionListener listener)
IPopupDetectionObservableremovePopupDetectionListener in interface IPopupDetectionObservablelistener - The listener to removepublic boolean hasFocus()
IComponenthasFocus in interface IComponentpublic boolean requestFocus()
IComponentCommonrequestFocus in interface IComponentCommonpublic void addFocusListener(IFocusListener listener)
IFocusObservableaddFocusListener in interface IFocusObservablelistener - The listener to addpublic void removeFocusListener(IFocusListener listener)
IFocusObservableremoveFocusListener in interface IFocusObservablelistener - The listener to removepublic void addKeyListener(IKeyListener listener)
IKeyObservableaddKeyListener in interface IKeyObservablelistener - The listener to addpublic void removeKeyListener(IKeyListener listener)
IKeyObservableremoveKeyListener in interface IKeyObservablelistener - The listener to removepublic void addMouseListener(IMouseListener mouseListener)
IMouseObservableaddMouseListener in interface IMouseObservablemouseListener - The listener to addpublic void removeMouseListener(IMouseListener mouseListener)
IMouseObservableremoveMouseListener in interface IMouseObservablemouseListener - The listener to removepublic void addMouseMotionListener(IMouseMotionListener listener)
IMouseMotionObservableaddMouseMotionListener in interface IMouseMotionObservablelistener - The listener to addpublic void removeMouseMotionListener(IMouseMotionListener listener)
IMouseMotionObservableremoveMouseMotionListener in interface IMouseMotionObservablelistener - The listener to removepublic void addComponentListener(IComponentListener componentListener)
IComponentObservableaddComponentListener in interface IComponentObservablecomponentListener - The listener to addpublic void removeComponentListener(IComponentListener componentListener)
IComponentObservableremoveComponentListener in interface IComponentObservablecomponentListener - The listener to removepublic void addShowingStateListener(IShowingStateListener listener)
IShowingStateObservableaddShowingStateListener in interface IShowingStateObservablelistener - The listener to addpublic void removeShowingStateListener(IShowingStateListener listener)
IShowingStateObservableremoveShowingStateListener in interface IShowingStateObservablelistener - The listener to removepublic IPopupMenu createPopupMenu()
IComponentcreatePopupMenu in interface IComponentpublic void setPopupMenu(IMenuModel popupMenu)
IComponentsetPopupMenu in interface IComponentpublic final void redraw()
IComponentCommonredraw in interface IComponentCommonpublic void setRedrawEnabled(boolean enabled)
IComponentCommonsetRedrawEnabled in interface IComponentCommonenabled - The enabled statepublic boolean isShowing()
IComponentisShowing in interface IComponentpublic final boolean isVisible()
IComponentCommonisVisible in interface IComponentCommonpublic IColorConstant getForegroundColor()
IComponentCommongetForegroundColor in interface IComponentCommonpublic IColorConstant getBackgroundColor()
IComponentCommongetBackgroundColor in interface IComponentCommonpublic Rectangle getBounds()
IComponentgetBounds in interface IComponentpublic void setBounds(Rectangle bounds)
IComponentsetBounds in interface IComponentbounds - The bounds to set, never nullpublic void setSize(int width,
int height)
IComponentsetSize in interface IComponentwidth - The widthheight - The heightpublic void setPosition(int x,
int y)
IComponentsetPosition in interface IComponentx - The x coordinatey - The y coordinatepublic Position toScreen(Position localPosition)
IComponenttoScreen in interface IComponentlocalPosition - The local position, must not be nullpublic Position toLocal(Position screenPosition)
IComponenttoLocal in interface IComponentscreenPosition - The screen position to transform, must not ne nullpublic Position fromComponent(IComponentCommon component, Position componentPosition)
IComponentfromComponent in interface IComponentcomponent - Component, which the position is relative to, must not be nullcomponentPosition - Position The position to transform, must not be nullpublic Position toComponent(Position componentPosition, IComponentCommon component)
IComponenttoComponent in interface IComponentcomponentPosition - The position in this coordinate systemcomponent - Component, in what coordinate system the position is transformed topublic final boolean isInitialized()
public IWidget getRoot()
IWidgetpublic void addDisposeListener(IDisposeListener listener)
IDisposeObservableaddDisposeListener in interface IDisposeObservablelistener - The listener to addpublic void removeDisposeListener(IDisposeListener listener)
IDisposeObservableremoveDisposeListener in interface IDisposeObservablelistener - The listener to removepublic boolean isDisposed()
IWidgetisDisposed in interface IWidgetpublic void setEnabled(boolean enabled)
IWidgetCommonsetEnabled in interface IWidgetCommonenabled - The enabled state to setpublic boolean isEnabled()
IWidgetCommonisEnabled in interface IWidgetCommonpublic final java.lang.Object getUiReference()
IWidgetCommongetUiReference in interface IWidgetCommonSiehe auch Jowidgets Nutzerhandbuch