uci.uml.ui
Class DetailsPane
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--uci.uml.ui.DetailsPane
- public class DetailsPane
- extends JPanel
- implements ChangeListener, MouseListener
The lower-right pane of the main Argo/UML window. This panel has
several tabs that show details of the selected ToDoItem, or the
selected model element in the NavigationPane, or the
MultiEditorPane.
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addNotify,
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,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getNextFocusableComponent,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paint,
paintBorder,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processComponentKeyEvent,
processFocusEvent,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setEnabled,
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,
setLayout,
validate,
validateTree |
| Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
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,
removePropertyChangeListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
WIDTH
public static int WIDTH
HEIGHT
public static int HEIGHT
INITIAL_WIDTH
public static int INITIAL_WIDTH
INITIAL_HEIGHT
public static int INITIAL_HEIGHT
_figTarget
protected Fig _figTarget
- Target is the currently selected object from the UML Model,
usually selected from a Fig in the diagram or from the
navigation panel.
_modelTarget
protected Object _modelTarget
_item
protected Object _item
_tabs
protected JTabbedPane _tabs
_tabPanels
protected Vector _tabPanels
_lastNonNullTab
protected int _lastNonNullTab
_upArrowIcon
protected Icon _upArrowIcon
_leftArrowIcon
protected Icon _leftArrowIcon
DetailsPane
public DetailsPane(StatusBar sb)
getTabs
public JTabbedPane getTabs()
setToDoItem
public void setToDoItem(Object item)
setTarget
public void setTarget(Object target)
getTarget
public Object getTarget()
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class JComponent
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class JComponent
getIndexOfNamedTab
public int getIndexOfNamedTab(String tabName)
selectTabNamed
public void selectTabNamed(String tabName)
selectNextTab
public void selectNextTab()
stateChanged
public void stateChanged(ChangeEvent e)
- called when the user selects a new tab, by clicking or
otherwise.
- Specified by:
- stateChanged in interface ChangeListener
mySingleClick
public void mySingleClick(int tab)
- called when the user clicks once on a tab.
myDoubleClick
public void myDoubleClick(int tab)
- called when the user clicks twice on a tab.
mousePressed
public void mousePressed(MouseEvent me)
- Specified by:
- mousePressed in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent me)
- Specified by:
- mouseReleased in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent me)
- Specified by:
- mouseEntered in interface MouseListener
mouseExited
public void mouseExited(MouseEvent me)
- Specified by:
- mouseExited in interface MouseListener
mouseClicked
public void mouseClicked(MouseEvent me)
- Specified by:
- mouseClicked in interface MouseListener