|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--org.ocd.dcf.DCComponent | +--org.ocd.desktop.LaunchPanel
Inner classes inherited from class org.ocd.dcf.DCComponent |
DCComponent.DesktopWindow |
Inner classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
static int |
CMD_PANEL_WIDTH
|
protected javax.swing.JComboBox |
cmdList
|
protected javax.swing.JPanel |
cmdPanel
|
protected DCTile |
currentTile
|
static java.lang.String |
DRAG_ICON
|
static java.lang.String |
ELEMENT_NAME
|
protected java.awt.TextField |
launchField
|
protected boolean |
launchInProgress_flag
Set to true when we are trying to launch a Command |
protected java.util.HashSet |
launchListeners
|
protected java.lang.Thread |
launchThread
Thread created to launch a Command |
protected TileSet |
mySet
|
protected org.ocd.desktop.LaunchPanel.TileDragComponent |
tileDragComponent
|
Fields inherited from class org.ocd.dcf.DCComponent |
dcComponentListeners, desktopFrame, draggable_flag, dragRecognizer, dragSource, dragSourceListener, extensionHREF, extensionName, extensionVersion, onDesktop_flag, relativeURL, transferObject, visible_flag, window, xmlChanged_flag, xmlParser |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
LaunchPanel()
Create the Launch Panel |
Method Summary | |
void |
addLaunchListener(ILaunchListener listener)
Add a Launch Listener to receive launch events |
void |
componentHidden(java.awt.event.ComponentEvent e)
Invoked when the component has been made invisible. |
void |
componentMoved(java.awt.event.ComponentEvent e)
Invoked when the component's position changes. |
void |
componentResized(java.awt.event.ComponentEvent e)
Invoked when the component's size changes. |
void |
componentShown(java.awt.event.ComponentEvent e)
Invoked when the component has been made visible. |
ICmdAction |
createCmdAction()
create a Task for the current Command |
void |
fireLaunchCompleted(ICmdAction action)
Fire launch completed message to Launch Listeners |
void |
fireLaunchStarted(ICmdAction action)
Fire launch stared message to Launch Listeners |
java.lang.String |
getCommand()
Get the Current Command String |
org.w3c.dom.Element |
getXMLElement()
This is the Data of the TileSet. |
void |
launch()
Launch the Current Command |
void |
removeLaunchListener(ILaunchListener listener)
Remove a Launch Listener to receive launch events |
void |
setBLXElement(org.w3c.dom.Element pElement,
java.net.URL pRelativeURL)
Set the Node on this Component |
void |
setCommand(java.lang.String pCmd)
Set the Current Command String |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, paramString, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setName, setSize, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CMD_PANEL_WIDTH
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String DRAG_ICON
protected java.util.HashSet launchListeners
protected javax.swing.JComboBox cmdList
protected java.awt.TextField launchField
protected org.ocd.desktop.LaunchPanel.TileDragComponent tileDragComponent
protected javax.swing.JPanel cmdPanel
protected TileSet mySet
protected DCTile currentTile
protected transient boolean launchInProgress_flag
protected transient java.lang.Thread launchThread
Constructor Detail |
public LaunchPanel()
Method Detail |
public void addLaunchListener(ILaunchListener listener)
listener
- to addpublic void removeLaunchListener(ILaunchListener listener)
listener
- to removepublic void fireLaunchStarted(ICmdAction action)
action
- that is being launchedpublic void fireLaunchCompleted(ICmdAction action)
action
- that is finished launchingpublic ICmdAction createCmdAction()
public org.w3c.dom.Element getXMLElement()
getXMLElement
in class DCComponent
org.ocd.dcf.DCComponent
public void setBLXElement(org.w3c.dom.Element pElement, java.net.URL pRelativeURL)
setBLXElement
in class DCComponent
pElement
- Node that contains this components settingspRelativeURL
- the URL that all HREFs would be relative topublic void launch()
public java.lang.String getCommand()
public void setCommand(java.lang.String pCmd)
public void componentShown(java.awt.event.ComponentEvent e)
componentShown
in interface java.awt.event.ComponentListener
public void componentMoved(java.awt.event.ComponentEvent e)
componentMoved
in interface java.awt.event.ComponentListener
public void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
public void componentHidden(java.awt.event.ComponentEvent e)
componentHidden
in interface java.awt.event.ComponentListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |