|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.core.AbstractDisposable
yu.ac.bg.etf.javaqx.qswing.JQComponent
yu.ac.bg.etf.javaqx.qswing.JQContainer
yu.ac.bg.etf.javaqx.qswing.JQDesktopPane
DesktopPane Component.
Field Summary |
Fields inherited from class yu.ac.bg.etf.javaqx.qswing.JQComponent |
listenerList |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQContainerProperties |
PROPERTY_LAYOUT_MANAGER |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQComponentProperties |
PROPERTY_BACKGROUND, PROPERTY_COMPONENT_ORIENTATION, PROPERTY_CONTEXT_MENU, PROPERTY_ENABLED, PROPERTY_FIXED_SIZE, PROPERTY_FOCUSABLE, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_INSETS, PROPERTY_LOCALE, PROPERTY_MAXIMUM_SIZE, PROPERTY_MINIMUM_SIZE, PROPERTY_NAME, PROPERTY_OPAQUE, PROPERTY_PREFERRED_SIZE, PROPERTY_RESOURCE_BUNDLE_NAME, PROPERTY_STATUS_TIP_TEXT, PROPERTY_STYLE_SHEET, PROPERTY_TOOL_TIP_TEXT, PROPERTY_VISIBLE, PROPERTY_WHATS_THIS_TEXT |
Constructor Summary | |
JQDesktopPane()
Constructs new JQDesktopPane object. |
Method Summary | |
JQComponent |
add(JQComponent component)
Appends the specified component to the end of this container. |
JQComponent |
add(JQComponent component,
int index)
Adds the specified component to this container at the given position. |
JQComponent |
add(JQComponent component,
java.lang.Object constraints)
Appends the specified component to the end of this container. |
JQComponent |
add(JQComponent component,
java.lang.Object constraints,
int index)
Inserts the specified component at the specified index. |
JQInternalFrame |
add(JQInternalFrame component)
Appends the specified component to the end of this container. |
protected JQComponent |
addImpl(JQComponent component,
java.lang.Object constraints,
int index)
Adds new component to the container. |
void |
cascadeComponents()
Cascades the components. |
void |
closeAllComponents()
Closes all components. |
void |
closeCurrentComponent()
Closes the current component. |
JQComponent |
getSelectedComponent()
Returns currently selected (active) component. |
void |
invalidate()
Invalidates the component. |
void |
selectNextComponent()
Selects next component. |
void |
selectPreviousComponent()
Selects previous component. |
void |
setLayout(LayoutManager layoutManager)
Sets the layout manager for this container. |
void |
setSelectedComponent(JQComponent component)
Sets currently selected (active) component. |
void |
tileComponents()
Tiles the components. |
void |
validate()
Validates the component. |
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.JQContainer |
doLayout, getComponent, getComponentCount, getComponentIndex, getComponents, getLayout, getMaximumSize, getMinimumSize, getOwnedComponents, getPreferredSize, pack, paramString, remove, remove, removeAll, setBackground, setComponentOrientation, setForeground, updateLocalization |
Methods inherited from class yu.ac.bg.etf.javaqx.core.AbstractDisposable |
addDisposeListener, dispose, disposedCheck, disposedErrorString, finalize, isDisposed, removeDisposeListener |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JQDesktopPane()
Method Detail |
public JQInternalFrame add(JQInternalFrame component)
component
- the component to be added
public JQComponent getSelectedComponent()
public void setSelectedComponent(JQComponent component)
component
- the component to be selectedpublic void selectNextComponent()
public void selectPreviousComponent()
public void closeCurrentComponent()
public void closeAllComponents()
public void cascadeComponents()
public void tileComponents()
public JQComponent add(JQComponent component)
add
in class JQContainer
component
- the component to be added
public JQComponent add(JQComponent component, int index)
add
in class JQContainer
component
- the component to be addedindex
- the position at which to insert the component, or -1
to append the component to the end
public JQComponent add(JQComponent component, java.lang.Object constraints)
add
in class JQContainer
component
- the component to be addedconstraints
- the layout constraints
public JQComponent add(JQComponent component, java.lang.Object constraints, int index)
add
in class JQContainer
component
- the component to be addedconstraints
- the layout constraintsindex
- the component index
public void setLayout(LayoutManager layoutManager)
setLayout
in class JQContainer
layoutManager
- the layout managerpublic void invalidate()
invalidate
in class JQContainer
public void validate()
validate
in class JQContainer
protected JQComponent addImpl(JQComponent component, java.lang.Object constraints, int index)
addImpl
in class JQContainer
component
- the componentconstraints
- the constraintsindex
- the component index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |