com.sibvisions.rad.ui.swing.impl.container
Class SwingDesktopPanel
java.lang.Object
com.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
com.sibvisions.rad.ui.awt.impl.AwtContainer<C>
com.sibvisions.rad.ui.swing.impl.SwingComponent<JVxDesktopPane>
com.sibvisions.rad.ui.swing.impl.container.SwingDesktopPanel
- All Implemented Interfaces:
- KeyListener, MouseListener, EventListener, IDesktopPanel, IAlignmentConstants, IComponent, IContainer, IResource
public class SwingDesktopPanel
- extends SwingComponent<JVxDesktopPane>
- implements IDesktopPanel
The SwingDesktopPanel is the IDesktopPanel
implementation for swing.
- See Also:
JDesktopPane,
IDesktopPanel
|
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 com.sibvisions.rad.ui.awt.impl.AwtContainer |
add, add, add, add, addIntern, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeIntern, setLayout, setLayoutIntern |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent |
eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getFactory, getFont, getForeground, getHorizontalAlignment, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getVerticalAlignment, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFactory, setFocusable, setFont, setForeground, setHorizontalAlignment, setLocation, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setVerticalAlignment, setVisible |
| 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, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getFactory, getFont, getForeground, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFocusable, setFont, setForeground, setLocation, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible |
SwingDesktopPanel
public SwingDesktopPanel()
- Creates a new instance of
SwingDesktopPanel.
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.