|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.argouml.ui.TabSpawnable
org.argouml.ui.StylePanel
org.argouml.ui.StylePanelFig
org.argouml.ui.StylePanelFigNodeModelElement
org.argouml.uml.diagram.ui.StylePanelFigMessage
Stylepanel which allows to set the arrow of a message.
FigMessage
,
Serialized FormNested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private JComboBox |
arrowField
|
private JLabel |
arrowLabel
|
Fields inherited from class org.argouml.ui.StylePanelFigNodeModelElement |
|
Fields inherited from class org.argouml.ui.StylePanelFig |
|
Fields inherited from class org.argouml.ui.StylePanel |
|
Fields inherited from class org.argouml.ui.TabSpawnable |
|
Fields inherited from class javax.swing.JPanel |
|
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.Container |
|
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 | |
StylePanelFigMessage()
The constructor. |
Method Summary | |
void |
itemStateChanged(ItemEvent e)
|
void |
refresh()
Handle a refresh of the style panel after the fig has moved. |
void |
removeUpdate(DocumentEvent e)
|
void |
setTargetArrow()
Set the arrow direction for the target. |
Methods inherited from class org.argouml.ui.StylePanelFigNodeModelElement |
setTargetShadow |
Methods inherited from class org.argouml.ui.StylePanelFig |
focusGained, focusLost, getBBoxField, getBBoxLabel, getFillField, getFillLabel, getLineField, getLineLabel, getSpacer, getSpacer2, getSpacer3, handleCustomColor, hasEditableBoundingBox, initChoices, keyPressed, keyReleased, keyTyped, parseBBox, setTargetBBox, setTargetFill, setTargetLine |
Methods inherited from class org.argouml.ui.StylePanel |
actionPerformed, changedUpdate, getPanelTarget, getTarget, insertUpdate, refresh, setTarget, shouldBeEnabled, targetAdded, targetRemoved, targetSet, valueChanged |
Methods inherited from class org.argouml.ui.TabSpawnable |
clone, getOrientation, getTitle, setOrientation, setTitle, spawn |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.event.FocusListener |
focusGained, focusLost |
Methods inherited from interface java.awt.event.KeyListener |
keyPressed, keyReleased, keyTyped |
Field Detail |
private JLabel arrowLabel
private JComboBox arrowField
Constructor Detail |
public StylePanelFigMessage()
Method Detail |
public void refresh()
StylePanelFig
Warning. There is a circular trap here. Editing the boundary box will also trigger a refresh, and so we reset the boundary box, which causes funny behaviour (the cursor keeps jumping to the end of the text). The solution is to not reset the boundary box field if the boundaries have not changed.
refresh
in interface TabTarget
refresh
in class StylePanelFigNodeModelElement
TabTarget.refresh()
public void setTargetArrow()
public void removeUpdate(DocumentEvent e)
removeUpdate
in interface DocumentListener
removeUpdate
in class StylePanel
DocumentListener.removeUpdate(javax.swing.event.DocumentEvent)
public void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
itemStateChanged
in class StylePanelFigNodeModelElement
ItemListener.itemStateChanged(java.awt.event.ItemEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |