|
Enterprise Information Portal APIs |
||||||||
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 | +--com.ibm.mm.beans.gui.CMBVersionsViewer
The CMBVersionsViewer displays all versions of a single item. For items which have only one version, and for datastores which do not support versioning, only the item itself will be shown.
Implements interfaces: CMBViewVersionsListener, so it may listen to requests to view all versions of an item.
Source of events:
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 |
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 com.ibm.mm.beans.gui.CMBViewVersionsListener |
copyright |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
CMBVersionsViewer()
Constructor for the CMBVersionsViewer. |
Method Summary | |
void |
addEditItemAttributesListener(CMBEditItemAttributesListener listener)
Adds the specified listener to receive Edit Item Attributes events. |
void |
addHelpListener(CMBHelpListener listener)
Adds the specified listener to receive Help events. |
void |
addItemActionListener(CMBItemActionListener listener)
Adds the specified listener to receive Item Action events. |
void |
addItemPopupListener(CMBItemPopupListener listener)
Adds the specified listener to receive Item Popup events. |
void |
addItemSelectedListener(CMBItemSelectedListener listener)
Adds the specified listener to receive Item Selected events. |
void |
addViewDocumentListener(CMBViewDocumentListener listener)
Adds the specified listener to receive View Document events. |
void |
addViewVersionsCancelledListener(CMBViewVersionsCancelledListener listener)
Adds the specified listener to receive View Versions cancelled events. |
void |
clear()
Clear all items from the versions viewer |
int |
getCollationStrength()
Gets the collation strength, which determines the exactness of comparisons when sorting items in the versions table |
CMBConnection |
getConnection()
Get the connection object for the CMBVersionsViewer |
CMBItem |
getItem()
|
boolean |
isCancelButtonVisible()
Determine whether the Cancel button is displayed. |
boolean |
isDefaultPopupEnabled()
Determines if the default popup menu will appear when the user clicks on items in the details pane. |
boolean |
isEditAttributesButtonVisible()
Determine whether the Edit Attributes button is displayed. |
boolean |
isHelpButtonVisible()
Determine whether the Help button is displayed. |
boolean |
isOpenButtonVisible()
Determine whether the Open button is displayed. |
void |
onViewVersions(CMBViewVersionsEvent event)
The CMBViewVersionsListener implementation |
void |
removeEditItemAttributesListener(CMBEditItemAttributesListener listener)
Removes the specified listener so that it no longer receives Edit Item Attributes events. |
void |
removeHelpListener(CMBHelpListener listener)
Removes the specified listener so that it no longer receives Help events. |
void |
removeItemActionListener(CMBItemActionListener listener)
Removes the specified listener so that it no longer receives Item Action events. |
void |
removeItemPopupListener(CMBItemPopupListener listener)
Removes the specified listener so that it no longer receives I tem Popup events. |
void |
removeItemSelectedListener(CMBItemSelectedListener listener)
Removes the specified listener so that it no longer receives Item Selected events. |
void |
removeViewDocumentListener(CMBViewDocumentListener listener)
Removes the specified listener so that it no longer receives View Document events. |
void |
removeViewVersionsCancelledListener(CMBViewVersionsCancelledListener listener)
Removes the specified listener so that it no longer receives View Versions cancelled events. |
void |
setCancelButtonVisible(boolean newVal)
Set whether the Cancel button should be displayed. |
void |
setCollationStrength(int newStrength)
Sets the collation strength, which determines the exactness of comparisons when sorting items in the versions table |
void |
setConnection(CMBConnection newConn)
Set the connection object for the CMBVersionsViewer |
void |
setDefaultPopupEnabled(boolean newValue)
Sets if the default popup menu will appear when the user clicks on items in the details pane. |
void |
setEditAttributesButtonVisible(boolean newVal)
Set whether the Edit Attributes button should be displayed. |
void |
setHelpButtonVisible(boolean newVal)
Set whether the Help should be displayed. |
void |
setItem(CMBItem newItem)
|
void |
setLayout(java.awt.LayoutManager mgr)
Overridden to disable changing of the layout manager. |
void |
setLocale(java.util.Locale newLocale)
Overrides the setLocale function |
void |
setOpenButtonVisible(boolean newVal)
Set whether the Open button should be displayed. |
void |
updateUI()
Override updateUI to ensure proper updating of components |
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, getAccessibleContext, 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, getUIClassID, 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, paramString, 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, 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, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, 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, getLocation, 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, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CMBVersionsViewer()
Method Detail |
public CMBConnection getConnection()
public void setConnection(CMBConnection newConn)
public int getCollationStrength()
public void setCollationStrength(int newStrength)
public CMBItem getItem()
public void setItem(CMBItem newItem)
public boolean isDefaultPopupEnabled()
public void setDefaultPopupEnabled(boolean newValue)
public boolean isOpenButtonVisible()
public void setOpenButtonVisible(boolean newVal)
public boolean isEditAttributesButtonVisible()
public void setEditAttributesButtonVisible(boolean newVal)
public boolean isCancelButtonVisible()
public void setCancelButtonVisible(boolean newVal)
public boolean isHelpButtonVisible()
public void setHelpButtonVisible(boolean newVal)
public void clear()
public void setLayout(java.awt.LayoutManager mgr)
setLayout
in class java.awt.Container
public void setLocale(java.util.Locale newLocale)
setLocale
in class java.awt.Component
public void updateUI()
updateUI
in class javax.swing.JComponent
public void onViewVersions(CMBViewVersionsEvent event)
onViewVersions
in interface CMBViewVersionsListener
public void addItemSelectedListener(CMBItemSelectedListener listener)
public void removeItemSelectedListener(CMBItemSelectedListener listener)
public void addItemPopupListener(CMBItemPopupListener listener)
public void removeItemPopupListener(CMBItemPopupListener listener)
public void addItemActionListener(CMBItemActionListener listener)
public void removeItemActionListener(CMBItemActionListener listener)
public void addViewDocumentListener(CMBViewDocumentListener listener)
public void removeViewDocumentListener(CMBViewDocumentListener listener)
public void addViewVersionsCancelledListener(CMBViewVersionsCancelledListener listener)
public void removeViewVersionsCancelledListener(CMBViewVersionsCancelledListener listener)
public void addEditItemAttributesListener(CMBEditItemAttributesListener listener)
public void removeEditItemAttributesListener(CMBEditItemAttributesListener listener)
public void addHelpListener(CMBHelpListener listener)
public void removeHelpListener(CMBHelpListener listener)
|
EIP JavaBeans | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |