javax.rad.genui.container
Class UIDesktopPanel

java.lang.Object
  extended by javax.rad.genui.UIResource<C>
      extended by javax.rad.genui.UIComponent<C>
          extended by javax.rad.genui.UIContainer<IDesktopPanel>
              extended by javax.rad.genui.container.UIDesktopPanel
All Implemented Interfaces:
ITranslatable, IDesktopPanel, IComponent, IContainer, IResource, INamedObject

public class UIDesktopPanel
extends UIContainer<IDesktopPanel>
implements IDesktopPanel

Platform and technology independent DesktopPanel. It is designed for use with AWT, Swing, SWT, JSP, JSF,... .


Field Summary
 
Fields inherited from class javax.rad.genui.UIContainer
components
 
Fields inherited from class javax.rad.genui.UIComponent
lLastTranslationModified, parent
 
Fields inherited from class javax.rad.genui.UIResource
uiResource
 
Constructor Summary
  UIDesktopPanel()
          Creates a new instance of UIDesktopPanel.
protected UIDesktopPanel(IDesktopPanel pDesktopPanel)
          Creates a new instance of UIDesktopPanel with the given desktop panel.
 
Method Summary
 boolean isNavigationKeysEnabled()
          Determines whether the navigation with the keyboard is enabled.
 boolean isTabMode()
          Gets the display mode of the desktop.
 void setNavigationKeysEnabled(boolean pEnabled)
          En- or disables the frame navigation with the keyboard.
 void setTabMode(boolean pTabMode)
          Sets the display mode of the desktop to show tabs instead of frames.
 
Methods inherited from class javax.rad.genui.UIContainer
add, add, add, add, addNotify, beforeAddNotify, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeNotify, setLayout, setZOrder, updateTranslation
 
Methods inherited from class javax.rad.genui.UIComponent
capture, createCellFormatter, createNodeFormatter, debug, error, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getComponentUIResource, getCurrentTranslation, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getResource, getSize, getToolTipText, getTranslation, info, invokeAndWait, invokeAndWait, invokeInThread, invokeInThread, invokeLater, invokeLater, isBackgroundSet, isBeforeNotified, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isNotified, isPreferredSizeSet, isTranslationChanged, isTranslationEnabled, isVisible, requestFocus, setBackground, setBounds, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocation, setLocationRelativeTo, setMaximumSize, setMaximumSize, setMinimumSize, setMinimumSize, setName, setParent, setPreferredSize, setPreferredSize, setSize, setSize, setToolTipText, setTranslation, setTranslationEnabled, setVisible, translate
 
Methods inherited from class javax.rad.genui.UIResource
equals, getUIResource, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IContainer
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

UIDesktopPanel

public UIDesktopPanel()
Creates a new instance of UIDesktopPanel.

See Also:
IDesktopPanel

UIDesktopPanel

protected UIDesktopPanel(IDesktopPanel pDesktopPanel)
Creates a new instance of UIDesktopPanel with the given desktop panel.

Parameters:
pDesktopPanel - the desktop panel
See Also:
IDesktopPanel
Method Detail

setTabMode

public void setTabMode(boolean pTabMode)
Sets the display mode of the desktop to show tabs instead of frames.

Specified by:
setTabMode in interface IDesktopPanel
Parameters:
pTabMode - true to frames as tabs; false to frames

isTabMode

public boolean isTabMode()
Gets the display mode of the desktop.

Specified by:
isTabMode in interface IDesktopPanel
Returns:
true if the desktop shows tabs instead of frames, or false if the desktop shows internal frames

setNavigationKeysEnabled

public void setNavigationKeysEnabled(boolean pEnabled)
En- or disables the frame navigation with the keyboard.

Specified by:
setNavigationKeysEnabled in interface IDesktopPanel
Parameters:
pEnabled - true to enable the navigation with the keyboard, otherwise false

isNavigationKeysEnabled

public boolean isNavigationKeysEnabled()
Determines whether the navigation with the keyboard is enabled.

Specified by:
isNavigationKeysEnabled in interface IDesktopPanel
Returns:
true if the keyboard navigation is enabled, otherwise false


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.