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

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by org.argouml.application.api.AbstractArgoJPanel
                      extended by org.argouml.uml.ui.PropPanel
                          extended by org.argouml.uml.ui.foundation.core.PropPanelModelElement
All Implemented Interfaces:
java.awt.event.ComponentListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.accessibility.Accessible, TabModelTarget, TabTarget, TargetListener, UMLUserInterfaceContainer
Direct Known Subclasses:
PropPanelAction, PropPanelActionSequence, PropPanelArgument, PropPanelAssociationEnd, PropPanelComment, PropPanelConstraint, PropPanelElementImport, PropPanelElementResidence, PropPanelEnumerationLiteral, PropPanelEvent, PropPanelExtensionPoint, PropPanelFeature, PropPanelGuard, PropPanelInstance, PropPanelInteraction, PropPanelLink, PropPanelLinkEnd, PropPanelMessage, PropPanelNamespace, PropPanelParameter, PropPanelPartition, PropPanelRelationship, PropPanelStateMachine, PropPanelStateVertex, PropPanelStereotype, PropPanelStimulus, PropPanelTagDefinition, PropPanelTaggedValue, PropPanelTemplateParameter, PropPanelTransition

Deprecated. By Bob Tarling in 0.29.2. All property panels are now to be built using the UML panels. subsystem.

@Deprecated
public abstract class PropPanelModelElement
extends PropPanel
implements TabModelTarget

The properties panel for a modelelement.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class javax.swing.JComponent
accessibleContext, 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()
          Deprecated. 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)
          Deprecated. The constructor.
 
Method Summary
protected  java.util.List getActions()
          Deprecated. This overrides the behaviour of the base class to filter out any actions that could be used to attempt to modify the UML model on a readonly element.
protected  javax.swing.JComponent getClientDependencyScroll()
          Deprecated.  
protected  javax.swing.JComponent getConstraintScroll()
          Deprecated.  
protected  javax.swing.JComponent getElementResidenceScroll()
          Deprecated.  
protected  UMLPlainTextDocument getNameDocument()
          Deprecated. Returns the document (model) for the name.
protected  javax.swing.JComponent getNamespaceSelector()
          Deprecated. Returns the namespace selector.
protected  javax.swing.JComponent getNameTextField()
          Deprecated.  
protected  javax.swing.JComponent getSourceFlowScroll()
          Deprecated.  
protected  javax.swing.JComponent getSupplierDependencyScroll()
          Deprecated.  
protected  javax.swing.JComponent getTargetFlowScroll()
          Deprecated.  
protected  javax.swing.JComponent getVisibilityPanel()
          Deprecated.  
 void navigateUp()
          Deprecated. Calling this method navigates the target one level up, to the owner of the current target.
 void setTarget(java.lang.Object target)
          Deprecated. Set the target to be associated with a particular property panel.
 
Methods inherited from class org.argouml.uml.ui.PropPanel
addAction, addAction, addAction, addField, addFieldAfter, addFieldBefore, addSeparator, buildToolbar, componentHidden, componentMoved, componentResized, componentShown, createBorderPanel, formatCollection, formatElement, formatNamespace, getDeleteAction, getDisplayNamespace, getModelElement, getProfile, getSingleRowScroll, getTarget, getTitleLabel, isRemovableElement, lookupIcon, refresh, setButtonPanelSize, setOrientation, setTitleLabel, shouldBeEnabled, targetAdded, targetRemoved, targetSet
 
Methods inherited from class org.argouml.application.api.AbstractArgoJPanel
clone, getIcon, getOrientation, getTitle, setIcon, setTitle, spawn
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, 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, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, 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
 
Methods inherited from interface org.argouml.ui.TabTarget
getTarget, refresh, shouldBeEnabled
 
Methods inherited from interface org.argouml.ui.targetmanager.TargetListener
targetAdded, targetRemoved, targetSet
 

Constructor Detail

PropPanelModelElement

public PropPanelModelElement(java.lang.String name,
                             javax.swing.ImageIcon icon)
Deprecated. 
The constructor.

Parameters:
name - the name of the properties panel
icon - the icon

PropPanelModelElement

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

Method Detail

setTarget

public void setTarget(java.lang.Object target)
Deprecated. 
Description copied from class: PropPanel
Set the target to be associated with a particular property panel.

This involves resetting the third party listeners.

Specified by:
setTarget in interface TabTarget
Overrides:
setTarget in class PropPanel
Parameters:
target - The object to be set as a target.

getActions

protected final java.util.List getActions()
Deprecated. 
This overrides the behaviour of the base class to filter out any actions that could be used to attempt to modify the UML model on a readonly element.

Overrides:
getActions in class PropPanel
Returns:
The list of actions to show for this panel.

navigateUp

public void navigateUp()
Deprecated. 
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.


getNamespaceSelector

protected javax.swing.JComponent getNamespaceSelector()
Deprecated. 
Returns the namespace selector. This is a component which allows the user to select a single item as the namespace.

Returns:
a component for selecting the namespace

getSupplierDependencyScroll

protected javax.swing.JComponent getSupplierDependencyScroll()
Deprecated. 
Returns:
a scrollpane for supplier dependency

getClientDependencyScroll

protected javax.swing.JComponent getClientDependencyScroll()
Deprecated. 
Returns:
a scrollpane for client dependency

getTargetFlowScroll

protected javax.swing.JComponent getTargetFlowScroll()
Deprecated. 
Returns:
a scrollpane for target flow

getSourceFlowScroll

protected javax.swing.JComponent getSourceFlowScroll()
Deprecated. 
Returns:
a scrollpane for source flow

getConstraintScroll

protected javax.swing.JComponent getConstraintScroll()
Deprecated. 
Returns:
a scrollpane for constraints

getVisibilityPanel

protected javax.swing.JComponent getVisibilityPanel()
Deprecated. 
Returns:
a panel for the visibility

getElementResidenceScroll

protected javax.swing.JComponent getElementResidenceScroll()
Deprecated. 
Returns:
a scrollpane for residence

getNameTextField

protected javax.swing.JComponent getNameTextField()
Deprecated. 
Returns:
a textfield for the name

getNameDocument

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

Returns:
Document


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook