org.argouml.uml.ui.foundation.core
Class PropPanelModelElement
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--org.argouml.ui.TabSpawnable
|
+--org.argouml.uml.ui.PropPanel
|
+--org.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, UMLUserInterfaceContainer
- Direct Known Subclasses:
- PropPanelAssociationEnd, PropPanelCallAction, 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
Inner classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Methods inherited from class org.argouml.uml.ui.PropPanel |
addCaption, addCaption, addField, addField, addFieldAfter, addFieldBefore, addLinkField, addLinkField, addMElementListener, addNavigationListener, formatCollection, formatElement, formatNamespace, getDisplayNamespace, getModelElement, getProfile, getResourceBundle, getTarget, isNavigateBackEnabled, isNavigateForwardEnabled, isRemovableElement, listRoleItemSet, localize, navigateBack, navigateBackAction, navigateForward, navigateForwardAction, navigateTo, open, propertySet, recovered, refresh, removed, removeElement, removeMElementListener, removeNavigationListener, roleAdded, roleRemoved, setNameEventListening, setOrientation, setTarget, shouldBeEnabled |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, paramString, 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, 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, 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, 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, setLayout, 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, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_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
_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
PropPanelModelElement
public PropPanelModelElement(java.lang.String name,
int columns)
- Deprecated. 7-Dec-2002 by Bob Tarling. Use the constructor
specifying orientation instead.
- Constructs the PropPanel.
- Parameters:
title
- Title of panelpanelCount
- number of horizontal panels
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)
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
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