yu.ac.bg.etf.javaqx.qswing
Class JQDesktopPane

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.core.AbstractDisposable
      extended byyu.ac.bg.etf.javaqx.qswing.JQComponent
          extended byyu.ac.bg.etf.javaqx.qswing.JQContainer
              extended byyu.ac.bg.etf.javaqx.qswing.JQDesktopPane
All Implemented Interfaces:
Disposable, JQComponentProperties, JQContainerProperties

public class JQDesktopPane
extends JQContainer

DesktopPane Component.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

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.qswing.JQComponent
addComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, disableEvents, disposeComponent, disposeObject, enableEvents, eventEnabled, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getClientProperty, getComponentListeners, getComponentOrientation, getContextMenu, getCursor, getEventMask, getFocusListener, getFont, getFontMetrics, getForeground, getHeight, getInsets, getKeyListeners, getLocale, getLocation, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getOwner, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getResourceBundleName, getSize, getStatusTipText, getStyleSheet, getToolTipText, getToolTipText, getWhatsThisText, getWidth, getX, getY, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLeftToRight, isLocaleSet, isOpaque, isOwnerOf, isPainting, isResizable, isResourceBundleNameSet, isUpdatesEnabled, isValid, isVisible, localizeObject, localizeString, localizeString, localizeStrings, paintComponent, processComponentEvent, processContextMenuEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, processStyleChange, putClientProperty, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, removeStyleSheet, repaint, repaint, repaint, requestFocus, revalidate, setBounds, setBounds, setContextMenu, setCursor, setDefaultResourceBundleName, setDisplayable, setEnabled, setFixedSize, setFixedSize, setFocusable, setFont, setInsets, setInsets, setLeftToRightComponentOrientation, setLocale, setLocation, setLocation, setMaximumSize, setMaximumSize, setMinimumSize, setMinimumSize, setName, setOpaque, setPreferredSize, setPreferredSize, setResizable, setResourceBundleName, setRightToLeftComponentOrientation, setSize, setSize, setStatusTipText, setStyleSheet, setStyleSheet, setToolTipText, setUpdatesEnabled, setVisible, setWhatsThisText, toString, unsetComponentOrientation, update, update, update, updateComponentOrientation
 
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

JQDesktopPane

public JQDesktopPane()
Constructs new JQDesktopPane object.

Method Detail

add

public JQInternalFrame add(JQInternalFrame component)
Appends the specified component to the end of this container.

Parameters:
component - the component to be added
Returns:
the component argument

getSelectedComponent

public JQComponent getSelectedComponent()
Returns currently selected (active) component.

Returns:
currently selected (active) component

setSelectedComponent

public void setSelectedComponent(JQComponent component)
Sets currently selected (active) component.

Parameters:
component - the component to be selected

selectNextComponent

public void selectNextComponent()
Selects next component.


selectPreviousComponent

public void selectPreviousComponent()
Selects previous component.


closeCurrentComponent

public void closeCurrentComponent()
Closes the current component.


closeAllComponents

public void closeAllComponents()
Closes all components.


cascadeComponents

public void cascadeComponents()
Cascades the components.


tileComponents

public void tileComponents()
Tiles the components.


add

public JQComponent add(JQComponent component)
Appends the specified component to the end of this container.

Overrides:
add in class JQContainer
Parameters:
component - the component to be added
Returns:
the component argument

add

public JQComponent add(JQComponent component,
                       int index)
Adds the specified component to this container at the given position.

Overrides:
add in class JQContainer
Parameters:
component - the component to be added
index - the position at which to insert the component, or -1 to append the component to the end
Returns:
the component argument

add

public JQComponent add(JQComponent component,
                       java.lang.Object constraints)
Appends the specified component to the end of this container.

Overrides:
add in class JQContainer
Parameters:
component - the component to be added
constraints - the layout constraints
Returns:
the component argument

add

public JQComponent add(JQComponent component,
                       java.lang.Object constraints,
                       int index)
Inserts the specified component at the specified index.

Overrides:
add in class JQContainer
Parameters:
component - the component to be added
constraints - the layout constraints
index - the component index
Returns:
the component argument

setLayout

public void setLayout(LayoutManager layoutManager)
Sets the layout manager for this container.

Overrides:
setLayout in class JQContainer
Parameters:
layoutManager - the layout manager

invalidate

public void invalidate()
Invalidates the component.

Overrides:
invalidate in class JQContainer

validate

public void validate()
Validates the component.

Overrides:
validate in class JQContainer

addImpl

protected JQComponent addImpl(JQComponent component,
                              java.lang.Object constraints,
                              int index)
Adds new component to the container.

Overrides:
addImpl in class JQContainer
Parameters:
component - the component
constraints - the constraints
index - the component index
Returns:
added component


Copyright © 2007 ETF and contributors. All Rights Reserved.