|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JButton
com.ibm.dse.desktop.Bookmark
This class provides a button that launches a specific task that is related to an operation and its corresponding operation panel.
The Bookmarks are the elements of the list that forms the bookmarkArea.
Nested Class Summary |
---|
Nested classes inherited from class javax.swing.JButton |
---|
javax.swing.JButton.AccessibleJButton |
Nested classes inherited from class javax.swing.AbstractButton |
---|
javax.swing.AbstractButton.AccessibleAbstractButton, javax.swing.AbstractButton.ButtonChangeListener |
Nested classes inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
(package private) int |
selectedPoint
|
Fields inherited from class javax.swing.AbstractButton |
---|
actionListener, BORDER_PAINTED_CHANGED_PROPERTY, changeEvent, changeListener, CONTENT_AREA_FILLED_CHANGED_PROPERTY, DISABLED_ICON_CHANGED_PROPERTY, DISABLED_SELECTED_ICON_CHANGED_PROPERTY, FOCUS_PAINTED_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, ICON_CHANGED_PROPERTY, itemListener, MARGIN_CHANGED_PROPERTY, MNEMONIC_CHANGED_PROPERTY, model, MODEL_CHANGED_PROPERTY, PRESSED_ICON_CHANGED_PROPERTY, ROLLOVER_ENABLED_CHANGED_PROPERTY, ROLLOVER_ICON_CHANGED_PROPERTY, ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, SELECTED_ICON_CHANGED_PROPERTY, TEXT_CHANGED_PROPERTY, VERTICAL_ALIGNMENT_CHANGED_PROPERTY, VERTICAL_TEXT_POSITION_CHANGED_PROPERTY |
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.Container |
---|
|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
Bookmark()
This constructor creates a Bookmark object. |
|
Bookmark(java.lang.String text)
This constructor creates a Boomark object. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Handles events for the ActionListener interface. |
void |
delete(java.awt.event.MouseEvent e)
Shows the PopUpMenu to delete an element from the BookmarkArea. |
void |
focusGained(java.awt.event.FocusEvent e)
This method is called when the component gains the focus. |
void |
focusLost(java.awt.event.FocusEvent e)
This method is called when the component loses the focus. |
java.lang.String |
getApplication()
Returns the value of the ID property. |
java.lang.String |
getCode()
Returns the value of the code property. |
java.lang.String |
getErrorMessageOnInstantiateOperation()
Returns the value of the errorMessageOnInstantiateOperation property. |
java.lang.Boolean |
getExecuteOperation()
Returns the value of the executeOperation property. |
int |
getHeight()
Returns the value of the height property. |
int |
getHeightNavigationArea()
Returns the value of the height property. |
javax.swing.JMenuItem |
getJMenuItem()
Returns and creates the Delete menuItem for each element of the list. |
javax.swing.JPopupMenu |
getJPopupMenu()
Returns and creates the popupMenu for each element of the list. |
java.lang.String |
getLaunchable()
Returns the value of the launchable property. |
java.lang.String |
getLongDescription()
Returns the value of the longDescription property. |
java.lang.String |
getOperation()
Returns the value of the operation property. |
java.lang.String |
getOperationPanel()
Returns the value of the operationPanel property. |
java.lang.String |
getParameters()
Returns the value of the parameters property. |
int |
getPositionX()
Returns the value of the positionX property. |
java.lang.String |
getProcess()
Returns the value of the process property. |
java.lang.String |
getShortDescription()
Returns the value of the shortDescription property. |
java.lang.String |
getTaskName()
Returns the value of the taskName property. |
java.lang.String |
getTypeLaunchable()
Returns the value of the type property. |
int |
getWidth()
Returns the value of the width property. |
int |
getWidthNavigationArea()
Returns the value of the width property. |
int |
getXNavigationArea()
Returns the value of the xNavigationArea property. |
int |
getYNavigationArea()
Returns the value of the yNavigationArea property. |
void |
initAttributes(java.lang.String text)
Initializes a Bookmark object with the text attributes. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Handles events for the MouseListener interface. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Handles events for the MouseListener interface. |
void |
mouseExited(java.awt.event.MouseEvent e)
Handles events for the MouseListener interface. |
void |
mousePressed(java.awt.event.MouseEvent e)
Handles events for the MouseListener interface. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Handles events for the MouseListener interface. |
void |
openTask()
Asks the Desktop to launch the task described by the TaskLauncherButton. |
void |
setApplication(java.lang.Object o)
Sets the value of the application property. |
void |
setCode(java.lang.Object o)
Sets the value of the code property. |
void |
setErrorMessageOnInstantiateOperation(java.lang.Object o)
Sets the value of the errorMessageOnInstantiateOperation property. |
void |
setExecuteOperation(java.lang.Object o)
Sets the value of the executeOperation property of the TaskLauncherButton. |
void |
setHeight(int o)
Sets the value of the height property. |
void |
setHeightNavigationArea(java.lang.Object o)
Sets the value of the height property. |
void |
setIconName(java.lang.Object o)
Sets the icon of the Bookmark. |
void |
setLabel(java.lang.Object o)
Sets the value of the label property. |
void |
setLaunchable(java.lang.Object o)
Sets the value of the launchable property. |
void |
setLongDescription(java.lang.Object o)
Sets the value of the longDescription property of the task described by the TaskLauncherButton. |
void |
setOperation(java.lang.Object o)
Sets the value of the operation property. |
void |
setOperationPanel(java.lang.Object o)
Sets the value of the operationPanel property. |
void |
setParameters(java.lang.Object o)
Sets the value of the parameters property. |
void |
setProcess(java.lang.Object o)
Sets the value of the process property. |
void |
setShortDescription(java.lang.Object o)
Sets the value of the shortDescription property. |
void |
setTaskName(java.lang.Object o)
Sets the value of the taskName property. |
void |
setTypeLaunchable(java.lang.String s)
Sets the value of the type property. |
void |
setWidth(int o)
Sets the value of the width property. |
void |
setWidthNavigationArea(java.lang.Object o)
Sets the value of the width property. |
void |
setXNavigationArea(java.lang.Object o)
Sets the value of the xNavigationArea property. |
void |
setYNavigationArea(java.lang.Object o)
Sets the value of the yNavigationArea property. |
java.lang.String |
toString()
This method returns a string representation of the Bookmark object. |
Methods inherited from class javax.swing.JButton |
---|
configurePropertiesFromAction, getAccessibleContext, getUIClassID, isDefaultButton, isDefaultCapable, paramString, removeNotify, setDefaultCapable, updateUI |
Methods inherited from class javax.swing.AbstractButton |
---|
addActionListener, addChangeListener, addItemListener, checkHorizontalKey, checkVerticalKey, createActionListener, createActionPropertyChangeListener, createChangeListener, createItemListener, doClick, doClick, fireActionPerformed, fireItemStateChanged, fireStateChanged, getAction, getActionCommand, getActionListeners, getChangeListeners, getDisabledIcon, getDisabledSelectedIcon, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getItemListeners, getLabel, getMargin, getMnemonic, getModel, getMultiClickThreshhold, getPressedIcon, getRolloverIcon, getRolloverSelectedIcon, getSelectedIcon, getSelectedObjects, getText, getUI, getVerticalAlignment, getVerticalTextPosition, imageUpdate, init, isBorderPainted, isContentAreaFilled, isFocusPainted, isRolloverEnabled, isSelected, paintBorder, removeActionListener, removeChangeListener, removeItemListener, setAction, setActionCommand, setBorderPainted, setContentAreaFilled, setDisabledIcon, setDisabledSelectedIcon, setDisplayedMnemonicIndex, setEnabled, setFocusPainted, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabel, setMargin, setMnemonic, setMnemonic, setModel, setMultiClickThreshhold, setPressedIcon, setRolloverEnabled, setRolloverIcon, setRolloverSelectedIcon, setSelected, setSelectedIcon, setText, setUI, setVerticalAlignment, setVerticalTextPosition |
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, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
int selectedPoint
Constructor Detail |
public Bookmark()
public Bookmark(java.lang.String text)
text
- java.lang.String - this text contains the information to create the BookmarkMethod Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
Deletes the selected element from the BookmarkArea list.
actionPerformed
in interface java.awt.event.ActionListener
e
- java.awt.event.ActionEventpublic void delete(java.awt.event.MouseEvent e)
e
- java.awt.event.ActionEventpublic void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
public java.lang.String getApplication()
getApplication
in interface TaskLauncher
public java.lang.String getCode()
getCode
in interface TaskLauncher
public java.lang.String getErrorMessageOnInstantiateOperation()
getErrorMessageOnInstantiateOperation
in interface TaskLauncher
public java.lang.Boolean getExecuteOperation()
getExecuteOperation
in interface TaskLauncher
public int getHeight()
public int getHeightNavigationArea()
getHeightNavigationArea
in interface TaskLauncher
public javax.swing.JMenuItem getJMenuItem()
public javax.swing.JPopupMenu getJPopupMenu()
public java.lang.String getLaunchable()
This method returns the name of the process/operation/application launched from the TaskLauncher.
getLaunchable
in interface TaskLauncher
public java.lang.String getLongDescription()
This method gets the long description of the task described by the TaskLauncherButton.
getLongDescription
in interface TaskLauncher
public java.lang.String getOperation()
This method gets the ID of the operation related to the task described by the MenuItem.
getOperation
in interface TaskLauncher
public java.lang.String getOperationPanel()
This method gets the name of the operation panel related to the task described by the TaskLauncherButton.
getOperationPanel
in interface TaskLauncher
public java.lang.String getParameters()
This method gets the parameters of the task described by the TaskLauncherButton.
getParameters
in interface TaskLauncher
public int getPositionX()
public java.lang.String getProcess()
This method gets the ID of the process related to the task described by the TaskLauncher.
getProcess
in interface TaskLauncher
public java.lang.String getShortDescription()
This method gets the short description of the task described by the TaskLauncherButton.
getShortDescription
in interface TaskLauncher
public java.lang.String getTaskName()
This method gets the name of the task described by the TaskLauncherButton.
getTaskName
in interface TaskLauncher
public java.lang.String getTypeLaunchable()
This method gets the type of the task described by the TaskLauncherButton.
getTypeLaunchable
in interface TaskLauncher
public int getWidth()
public int getWidthNavigationArea()
getWidthNavigationArea
in interface TaskLauncher
public int getXNavigationArea()
getXNavigationArea
in interface TaskLauncher
public int getYNavigationArea()
getYNavigationArea
in interface TaskLauncher
public void initAttributes(java.lang.String text)
text
- java.lang.String - contains the attributes of the object to be createdpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEventpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEventpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEventpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEventpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEventpublic void openTask()
public void setApplication(java.lang.Object o)
This method sets the ID of the operation related to the task described by the TaskLauncherButton and also sets the Type of the task described by the TaskLauncherButton to Application.
o
- java.lang.Object - the new value of the propertypublic void setCode(java.lang.Object o)
o
- java.lang.Object - the new value of the code of the task described by the TaskLauncherButtonpublic void setErrorMessageOnInstantiateOperation(java.lang.Object o)
This method sets the error message of the task described by the TaskLauncherButton.
o
- java.lang.Object - the new value of the propertypublic void setExecuteOperation(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setHeight(int o)
o
- int - the new value of the propertypublic void setHeightNavigationArea(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setIconName(java.lang.Object o)
public void setLabel(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setLaunchable(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setLongDescription(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setOperation(java.lang.Object o)
This method sets the ID of the operation related to the task described by the TaskLauncherButton and also sets the Type of the task described by the TaskLauncherButton to Operation.
o
- java.lang.Object - the new value of the propertypublic void setOperationPanel(java.lang.Object o)
This method sets the name of the operation panel related to the task described by the TaskLauncherButton.
o
- java.lang.Object - the new value of the propertypublic void setParameters(java.lang.Object o)
This method sets the paramters of the task described by the TaskLauncherButton.
o
- java.lang.Object - the new value of the propertypublic void setProcess(java.lang.Object o)
This method sets the ID of the operation related to the task described by the TaskLauncherButton and also sets the Type of the task described by the TaskLauncherButton to Process.
o
- java.lang.Object - the new value of the propertypublic void setShortDescription(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setTaskName(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setTypeLaunchable(java.lang.String s)
s
- java.lang.String - the new value of the propertypublic void setWidth(int o)
o
- int - the new value of the propertypublic void setWidthNavigationArea(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setXNavigationArea(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic void setYNavigationArea(java.lang.Object o)
o
- java.lang.Object - the new value of the propertypublic java.lang.String toString()
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |