org.argouml.uml.ui.foundation.core
Class PropPanelModelElement

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended byorg.argouml.ui.TabSpawnable
                      extended byorg.argouml.uml.ui.PropPanel
                          extended byorg.argouml.uml.ui.foundation.core.PropPanelModelElement
All Implemented Interfaces:
javax.accessibility.Accessible, java.lang.Cloneable, java.util.EventListener, java.awt.image.ImageObserver, ru.novosoft.uml.MElementListener, java.awt.MenuContainer, NavigationListener, Orientable, java.io.Serializable, TabModelTarget, TabTarget, TargetListener, UMLUserInterfaceContainer
Direct Known Subclasses:
PropPanelAction, PropPanelAssociationEnd, PropPanelComment, PropPanelComponentInstance, PropPanelEvent, PropPanelExtend, PropPanelExtensionPoint, PropPanelFeature, PropPanelGeneralization, PropPanelGuard, PropPanelInclude, PropPanelInstance, PropPanelInteraction, PropPanelLink, PropPanelMessage, PropPanelNamespace, PropPanelNodeInstance, PropPanelObject, PropPanelOperation, PropPanelParameter, PropPanelReception, PropPanelRelationship, PropPanelSignal, PropPanelStateMachine, PropPanelStateVertex, PropPanelStereotype, PropPanelStimulus, PropPanelTransition

public abstract class PropPanelModelElement
extends PropPanel

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
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
protected static javax.swing.ImageIcon _actionIcon
           
protected static javax.swing.ImageIcon _actorIcon
           
protected static javax.swing.ImageIcon _addAssocIcon
           
protected static javax.swing.ImageIcon _addAttrIcon
           
protected static javax.swing.ImageIcon _addOpIcon
           
protected static javax.swing.ImageIcon _assocEndIcon
           
protected static javax.swing.ImageIcon _assocEndRoleIcon
           
protected static javax.swing.ImageIcon _associationIcon
           
protected static javax.swing.ImageIcon _associationRoleIcon
           
protected static javax.swing.ImageIcon _callActionIcon
           
protected static javax.swing.ImageIcon _classIcon
           
protected static javax.swing.ImageIcon _classifierRoleIcon
           
protected static javax.swing.ImageIcon _collaborationIcon
           
protected static javax.swing.ImageIcon _commentIcon
           
protected static javax.swing.ImageIcon _componentIcon
           
protected static javax.swing.ImageIcon _componentInstanceIcon
           
protected static javax.swing.ImageIcon _dataTypeIcon
           
protected static javax.swing.ImageIcon _dependencyIcon
           
protected static javax.swing.ImageIcon _eventIcon
           
protected static javax.swing.ImageIcon _extendIcon
           
protected static javax.swing.ImageIcon _extensionPointIcon
           
protected static javax.swing.ImageIcon _flowIcon
           
protected static javax.swing.ImageIcon _generalizationIcon
           
protected static javax.swing.ImageIcon _guardIcon
           
protected static javax.swing.ImageIcon _includeIcon
           
protected static javax.swing.ImageIcon _innerClassIcon
           
protected static javax.swing.ImageIcon _instanceIcon
           
protected static javax.swing.ImageIcon _interactionIcon
           
protected static javax.swing.ImageIcon _interfaceIcon
           
protected static javax.swing.ImageIcon _linkIcon
           
protected static javax.swing.ImageIcon _messageIcon
           
protected static javax.swing.ImageIcon _modelIcon
           
protected static javax.swing.ImageIcon _nodeIcon
           
protected static javax.swing.ImageIcon _nodeInstanceIcon
           
protected static javax.swing.ImageIcon _objectIcon
           
protected static javax.swing.ImageIcon _operationIcon
           
protected static javax.swing.ImageIcon _packageIcon
           
protected static javax.swing.ImageIcon _parameterIcon
           
protected static javax.swing.ImageIcon _permissionIcon
           
protected static javax.swing.ImageIcon _realizationIcon
           
protected static javax.swing.ImageIcon _receptionIcon
           
protected static javax.swing.ImageIcon _signalIcon
           
protected static javax.swing.ImageIcon _stateMachineIcon
           
protected static javax.swing.ImageIcon _stereotypeIcon
           
protected static javax.swing.ImageIcon _stimulusIcon
           
protected static javax.swing.ImageIcon _transitionIcon
           
protected static javax.swing.ImageIcon _usageIcon
           
protected static javax.swing.ImageIcon _useCaseIcon
           
 
Fields inherited from class org.argouml.uml.ui.PropPanel
_deleteIcon, _navUpIcon, buttonPanel, smallFont
 
Fields inherited from class org.argouml.ui.TabSpawnable
orientation, OVERLAPP
 
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
PropPanelModelElement()
          Constructor that is used if no other proppanel can be found for a modelelement of some kind.
PropPanelModelElement(java.lang.String name, javax.swing.ImageIcon icon, int columns)
          Deprecated. As of ArgoUml version 0.13.5 (10-May-2003), PropPanelModelElement(String title, ImageIcon icon, Orientation orientation) I propose to remove this by version 0.15 (Bob Tarling)
PropPanelModelElement(java.lang.String name, javax.swing.ImageIcon icon, Orientation orientation)
           
PropPanelModelElement(java.lang.String name, int columns)
          Deprecated. As of ArgoUml version 0.13.2 (7-Dec-2002), PropPanelModelElement(String title, Orientation orientation) I propose to remove this by version 0.15 (Bob Tarling)
PropPanelModelElement(java.lang.String name, Orientation orientation)
           
 
Method Summary
protected  javax.swing.JScrollPane getClientDependencyScroll()
           
protected  javax.swing.JScrollPane getConstraintScroll()
           
protected  javax.swing.JScrollPane getElementResidenceScroll()
           
 java.util.Vector getModulePopUpActions(java.util.Vector v, java.lang.Object o)
           
protected  UMLPlainTextDocument getNameDocument()
          Returns the document (model) for the name.
protected  javax.swing.JComboBox getNamespaceComboBox()
           
protected  javax.swing.JScrollPane getNamespaceScroll()
           
protected  javax.swing.JPanel getNamespaceVisibilityPanel()
           
protected  javax.swing.JTextField getNameTextField()
           
 PropPanel getPropertyPanel()
           
protected  javax.swing.JScrollPane getSourceFlowScroll()
           
protected  javax.swing.JCheckBox getSpecializationCheckBox()
           
protected  javax.swing.JComboBox getStereotypeBox()
           
protected  javax.swing.JScrollPane getSupplierDependencyScroll()
           
protected  javax.swing.JScrollPane getTargetFlowScroll()
           
 boolean inContext(java.lang.Object[] o)
           
 boolean initializeModule()
           
 boolean isModuleEnabled()
           
 void navigateNamespace()
           
 void navigateUp()
          Calling this method navigates the target one level up, to the owner of the current target.
 void setModuleEnabled(boolean enabled)
           
 boolean shutdownModule()
           
 
Methods inherited from class org.argouml.uml.ui.PropPanel
addCaption, addCaption, addField, addField, addFieldAfter, addFieldBefore, addLinkField, addLinkField, addMElementListener, addSeperator, formatCollection, formatElement, formatNamespace, getDisplayNamespace, getModelElement, getProfile, getResourceBundle, getTarget, isNavigateBackEnabled, isNavigateForwardEnabled, isRemovableElement, listRoleItemSet, localize, navigateBack, navigateBackAction, navigateForward, navigateForwardAction, navigateTo, propertySet, recovered, refresh, removed, removeElement, removeMElementListener, roleAdded, roleRemoved, setNameEventListening, setOrientation, setTarget, shouldBeEnabled, targetAdded, targetRemoved, targetSet
 
Methods inherited from class org.argouml.ui.TabSpawnable
clone, getTitle, setTitle, spawn
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, 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, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, 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, imageUpdate, 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, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_objectIcon

protected static javax.swing.ImageIcon _objectIcon

_componentInstanceIcon

protected static javax.swing.ImageIcon _componentInstanceIcon

_nodeInstanceIcon

protected static javax.swing.ImageIcon _nodeInstanceIcon

_instanceIcon

protected static javax.swing.ImageIcon _instanceIcon

_linkIcon

protected static javax.swing.ImageIcon _linkIcon

_stimulusIcon

protected static javax.swing.ImageIcon _stimulusIcon

_associationIcon

protected static javax.swing.ImageIcon _associationIcon

_assocEndIcon

protected static javax.swing.ImageIcon _assocEndIcon

_assocEndRoleIcon

protected static javax.swing.ImageIcon _assocEndRoleIcon

_generalizationIcon

protected static javax.swing.ImageIcon _generalizationIcon

_realizationIcon

protected static javax.swing.ImageIcon _realizationIcon

_classIcon

protected static javax.swing.ImageIcon _classIcon

_collaborationIcon

protected static javax.swing.ImageIcon _collaborationIcon

_interfaceIcon

protected static javax.swing.ImageIcon _interfaceIcon

_addOpIcon

protected static javax.swing.ImageIcon _addOpIcon

_addAttrIcon

protected static javax.swing.ImageIcon _addAttrIcon

_addAssocIcon

protected static javax.swing.ImageIcon _addAssocIcon

_packageIcon

protected static javax.swing.ImageIcon _packageIcon

_modelIcon

protected static javax.swing.ImageIcon _modelIcon

_innerClassIcon

protected static javax.swing.ImageIcon _innerClassIcon

_nodeIcon

protected static javax.swing.ImageIcon _nodeIcon

_componentIcon

protected static javax.swing.ImageIcon _componentIcon

_dataTypeIcon

protected static javax.swing.ImageIcon _dataTypeIcon

_actorIcon

protected static javax.swing.ImageIcon _actorIcon

_useCaseIcon

protected static javax.swing.ImageIcon _useCaseIcon

_extendIcon

protected static javax.swing.ImageIcon _extendIcon

_extensionPointIcon

protected static javax.swing.ImageIcon _extensionPointIcon

_includeIcon

protected static javax.swing.ImageIcon _includeIcon

_dependencyIcon

protected static javax.swing.ImageIcon _dependencyIcon

_permissionIcon

protected static javax.swing.ImageIcon _permissionIcon

_usageIcon

protected static javax.swing.ImageIcon _usageIcon

_parameterIcon

protected static javax.swing.ImageIcon _parameterIcon

_operationIcon

protected static javax.swing.ImageIcon _operationIcon

_signalIcon

protected static javax.swing.ImageIcon _signalIcon

_stereotypeIcon

protected static javax.swing.ImageIcon _stereotypeIcon

_guardIcon

protected static javax.swing.ImageIcon _guardIcon

_transitionIcon

protected static javax.swing.ImageIcon _transitionIcon

_classifierRoleIcon

protected static javax.swing.ImageIcon _classifierRoleIcon

_associationRoleIcon

protected static javax.swing.ImageIcon _associationRoleIcon

_callActionIcon

protected static javax.swing.ImageIcon _callActionIcon

_eventIcon

protected static javax.swing.ImageIcon _eventIcon

_interactionIcon

protected static javax.swing.ImageIcon _interactionIcon

_actionIcon

protected static javax.swing.ImageIcon _actionIcon

_receptionIcon

protected static javax.swing.ImageIcon _receptionIcon

_commentIcon

protected static javax.swing.ImageIcon _commentIcon

_messageIcon

protected static javax.swing.ImageIcon _messageIcon

_flowIcon

protected static javax.swing.ImageIcon _flowIcon

_stateMachineIcon

protected static javax.swing.ImageIcon _stateMachineIcon
Constructor Detail

PropPanelModelElement

public PropPanelModelElement(java.lang.String name,
                             int columns)
Deprecated. As of ArgoUml version 0.13.2 (7-Dec-2002), PropPanelModelElement(String title, Orientation orientation) I propose to remove this by version 0.15 (Bob Tarling)

Constructs the PropPanel.


PropPanelModelElement

public PropPanelModelElement(java.lang.String name,
                             javax.swing.ImageIcon icon,
                             Orientation orientation)

PropPanelModelElement

public PropPanelModelElement(java.lang.String name,
                             Orientation orientation)

PropPanelModelElement

public PropPanelModelElement(java.lang.String name,
                             javax.swing.ImageIcon icon,
                             int columns)
Deprecated. As of ArgoUml version 0.13.5 (10-May-2003), PropPanelModelElement(String title, ImageIcon icon, Orientation orientation) I propose to remove this by version 0.15 (Bob Tarling)

Constructs the PropPanelModelElement - DO NOT USE.


PropPanelModelElement

public PropPanelModelElement()
Constructor that is used if no other proppanel can be found for a modelelement of some kind. Since this is the default

Method Detail

navigateUp

public void navigateUp()
Calling this method navigates the target one level up, to the owner of the current target. In most cases this navigates to the owning namespace. In some cases it navigates to, for example, the owning composite state for some simple state.


navigateNamespace

public void navigateNamespace()

getPropertyPanel

public PropPanel getPropertyPanel()

isModuleEnabled

public boolean isModuleEnabled()

getModulePopUpActions

public java.util.Vector getModulePopUpActions(java.util.Vector v,
                                              java.lang.Object o)

shutdownModule

public boolean shutdownModule()

initializeModule

public boolean initializeModule()

setModuleEnabled

public void setModuleEnabled(boolean enabled)

inContext

public boolean inContext(java.lang.Object[] o)

getNamespaceScroll

protected javax.swing.JScrollPane getNamespaceScroll()

getNamespaceComboBox

protected javax.swing.JComboBox getNamespaceComboBox()

getStereotypeBox

protected javax.swing.JComboBox getStereotypeBox()

getSupplierDependencyScroll

protected javax.swing.JScrollPane getSupplierDependencyScroll()

getClientDependencyScroll

protected javax.swing.JScrollPane getClientDependencyScroll()

getTargetFlowScroll

protected javax.swing.JScrollPane getTargetFlowScroll()

getSourceFlowScroll

protected javax.swing.JScrollPane getSourceFlowScroll()

getConstraintScroll

protected javax.swing.JScrollPane getConstraintScroll()

getNamespaceVisibilityPanel

protected javax.swing.JPanel getNamespaceVisibilityPanel()

getSpecializationCheckBox

protected javax.swing.JCheckBox getSpecializationCheckBox()

getElementResidenceScroll

protected javax.swing.JScrollPane getElementResidenceScroll()

getNameTextField

protected javax.swing.JTextField getNameTextField()

getNameDocument

protected UMLPlainTextDocument getNameDocument()
Returns the document (model) for the name. Only used for the PropPanelComment.

Returns:
Document


ArgoUML © 1996-2003 (20040125)ArgoUML Project HomeArgoUML Cookbook