|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.qt.impl.QtResource<C>
com.sibvisions.rad.ui.qt.impl.QtComponentBase<C>
com.sibvisions.rad.ui.qt.impl.QtComponent<C>
com.sibvisions.rad.ui.qt.impl.QtContainer<QMdiArea>
com.sibvisions.rad.ui.qt.impl.container.QtDesktopPanel
public class QtDesktopPanel
The QtDesktopPanel is the IDesktopPanel
implementation for QT.
QMdiArea,
IDesktopPanel| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtComponent |
|---|
parent |
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtComponentBase |
|---|
factory |
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
QtDesktopPanel()
Creates a new instance of QtDesktopPanel. |
|
| Method Summary | |
|---|---|
protected void |
addIntern(IComponent pComponent,
Object pConstraints,
int pIndex)
Internal function, for adding physical component and supporting layers. |
IColor |
getBackground()
Gets the background color of this component. |
boolean |
isBackgroundSet()
Returns whether the background color has been explicitly set for this Component. If this method returns false, this Component is
inheriting its background color from an ancestor. |
boolean |
isNavigationKeysEnabled()
Not supported. |
boolean |
isTabMode()
Gets the display mode of the desktop. |
protected void |
removeIntern(IComponent pComponent)
Internal function, for adding physical component and supporting layers. |
void |
setBackground(IColor pBackground)
Sets the background color of this component. The background color affects each component differently and the parts of the component that are affected by the background color may differ between operating systems. |
protected void |
setLayoutIntern(ILayout pLayout)
Internal function, for setting the layout. |
void |
setNavigationKeysEnabled(boolean pEnabled)
Not supported. |
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.qt.impl.QtContainer |
|---|
add, add, add, add, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtComponent |
|---|
addStyle, capture, getBounds, getCursor, getFont, getForeground, getHorizontalAlignment, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getStyleSheet, getToolTipText, getVerticalAlignment, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, requestFocus, setBounds, setCursor, setEnabled, setFocusable, setFont, setForeground, setHorizontalAlignment, setLocation, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setResourceVisible, setSize, setToolTipText, setVerticalAlignment |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtComponentBase |
|---|
eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getFactory, isVisible, setFactory, setVisible |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
equals, getResource, 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.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public QtDesktopPanel()
QtDesktopPanel.
| Method Detail |
|---|
public void setTabMode(boolean pTabMode)
setTabMode in interface IDesktopPanelpTabMode - true to frames as tabs; false to framespublic boolean isTabMode()
isTabMode in interface IDesktopPaneltrue if the desktop shows tabs instead of frames, or
false if the desktop shows internal framespublic void setNavigationKeysEnabled(boolean pEnabled)
setNavigationKeysEnabled in interface IDesktopPanelpEnabled - true to enable the navigation with the keyboard, otherwise falseIDesktopPanel.setNavigationKeysEnabled(boolean)public boolean isNavigationKeysEnabled()
isNavigationKeysEnabled in interface IDesktopPanelfalseIDesktopPanel.isNavigationKeysEnabled()public void setBackground(IColor pBackground)
The background color affects each component differently and the parts of the component that are affected by the background color may differ between operating systems.
setBackground in interface IComponentsetBackground in class QtComponent<QMdiArea>pBackground - the color to become this component's color;
if this parameter is null, then this
component will inherit the background color of its parentIComponent.getBackground()public IColor getBackground()
getBackground in interface IComponentgetBackground in class QtComponent<QMdiArea>IComponent.setBackground(javax.rad.ui.IColor)public boolean isBackgroundSet()
false, this Component is
inheriting its background color from an ancestor.
isBackgroundSet in interface IComponentisBackgroundSet in class QtComponent<QMdiArea>true if the background color has been explicitly
set for this Component; false otherwise.protected void setLayoutIntern(ILayout pLayout)
setLayoutIntern in class QtContainer<QMdiArea>pLayout - the layout
protected void addIntern(IComponent pComponent,
Object pConstraints,
int pIndex)
addIntern in class QtContainer<QMdiArea>pComponent - the Component to be addedpConstraints - an object expressing layout contraints for thispIndex - the position in the container's list at which to insert
the Component; -1 means insert at the end
componentQtContainer.add(IComponent, Object, int)protected void removeIntern(IComponent pComponent)
removeIntern in class QtContainer<QMdiArea>pComponent - the Component to be removedQtContainer.remove(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||