|
|||||||||
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.AbstractButton | +--javax.swing.JButton | +--com.ibm.dse.desktop.Bookmark
This class provides a button that launches an 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.
Inner classes inherited from class javax.swing.JButton |
javax.swing.JButton.AccessibleJButton |
Inner classes inherited from class javax.swing.AbstractButton |
javax.swing.AbstractButton.AccessibleAbstractButton,
javax.swing.AbstractButton.ButtonChangeListener |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
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.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
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 losts 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 |
getLabel()
Returns the value of the label property. |
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)
Method to handle events for the MouseListener interface. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Method to handle events for the MouseListener interface. |
void |
mouseExited(java.awt.event.MouseEvent e)
Method to handle events for the MouseListener interface. |
void |
mousePressed(java.awt.event.MouseEvent e)
Method to handle events for the MouseListener interface. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Method to handle 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 Boomark. |
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 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 |
getAccessibleContext,
getUIClassID,
isDefaultButton,
isDefaultCapable,
paramString,
setDefaultCapable,
updateUI |
Methods inherited from class javax.swing.AbstractButton |
addActionListener,
addChangeListener,
addItemListener,
checkHorizontalKey,
checkVerticalKey,
createActionListener,
createChangeListener,
createItemListener,
doClick,
doClick,
fireActionPerformed,
fireItemStateChanged,
fireStateChanged,
getActionCommand,
getDisabledIcon,
getDisabledSelectedIcon,
getHorizontalAlignment,
getHorizontalTextPosition,
getIcon,
getMargin,
getMnemonic,
getModel,
getPressedIcon,
getRolloverIcon,
getRolloverSelectedIcon,
getSelectedIcon,
getSelectedObjects,
getText,
getUI,
getVerticalAlignment,
getVerticalTextPosition,
init,
isBorderPainted,
isContentAreaFilled,
isFocusPainted,
isRolloverEnabled,
isSelected,
paintBorder,
removeActionListener,
removeChangeListener,
removeItemListener,
setActionCommand,
setBorderPainted,
setContentAreaFilled,
setDisabledIcon,
setDisabledSelectedIcon,
setEnabled,
setFocusPainted,
setHorizontalAlignment,
setHorizontalTextPosition,
setIcon,
setLabel,
setMargin,
setMnemonic,
setMnemonic,
setModel,
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,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getMinimumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paint,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processComponentKeyEvent,
processFocusEvent,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
setVisible,
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,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
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,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Bookmark()
public Bookmark(java.lang.String text)
text
- java.lang.String. This text contains the information to create the Bokkmark.Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
Deletes the selected element from the BookmarkArea list
e
- java.awt.event.ActionEventpublic void delete(java.awt.event.MouseEvent e)
e
- java.awt.event.ActionEventpublic void focusGained(java.awt.event.FocusEvent e)
public void focusLost(java.awt.event.FocusEvent e)
public java.lang.String getApplication()
public java.lang.String getCode()
public java.lang.String getErrorMessageOnInstantiateOperation()
public java.lang.Boolean getExecuteOperation()
public int getHeight()
public int getHeightNavigationArea()
public javax.swing.JMenuItem getJMenuItem()
public javax.swing.JPopupMenu getJPopupMenu()
public java.lang.String getLabel()
public java.lang.String getLaunchable()
This method returns the name of the process/operation/application launched from the TaskLauncher.
public java.lang.String getLongDescription()
This method gets the long description of the task described by the TaskLauncherButton.
public java.lang.String getOperation()
This method gets the ID of the operation related to the task described by the MenuItem
public java.lang.String getOperationPanel()
This method gets the name of the operation panel related to the task described by the TaskLauncherButton.
public java.lang.String getParameters()
This method gets the parameters of the task described by the TaskLauncherButton.
public int getPositionX()
public java.lang.String getProcess()
This method gets the ID of the process related to the task described by the TaskLauncher.
public java.lang.String getShortDescription()
This method gets the short description of the task described by the TaskLauncherButton.
public java.lang.String getTaskName()
This method gets the name of the task described by the TaskLauncherButton.
public java.lang.String getTypeLaunchable()
This method gets the type of the task described by the TaskLauncherButton.
public int getWidth()
public int getWidthNavigationArea()
public int getXNavigationArea()
public int getYNavigationArea()
public void initAttributes(java.lang.String text)
text
- java.lang.String Contains the attributes of the object to be created.public void mouseClicked(java.awt.event.MouseEvent e)
e
- java.awt.event.MouseEventpublic void mouseEntered(java.awt.event.MouseEvent e)
e
- java.awt.event.MouseEventpublic void mouseExited(java.awt.event.MouseEvent e)
e
- java.awt.event.MouseEventpublic void mousePressed(java.awt.event.MouseEvent e)
e
- java.awt.event.MouseEventpublic void mouseReleased(java.awt.event.MouseEvent e)
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 property.public void setCode(java.lang.Object o)
o
- java.lang.Object - The new value of the code of the task described by the TaskLauncherButton.public 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 property.public void setExecuteOperation(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public void setHeight(int o)
o
- int - The new value of the property.public void setHeightNavigationArea(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public void setIconName(java.lang.Object o)
newValue
- java.lang.Stringpublic void setLabel(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public void setLaunchable(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public void setLongDescription(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public 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 property.public 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 property.public 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 property.public 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 property.public void setShortDescription(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public void setTaskName(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public void setTypeLaunchable(java.lang.String s)
s
- java.lang.String - The new value of the property.public void setWidth(int o)
o
- int - The new value of the property.public void setWidthNavigationArea(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public void setXNavigationArea(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public void setYNavigationArea(java.lang.Object o)
o
- java.lang.Object - The new value of the property.public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |