|
|||||||||||
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.static_structure.ui.StylePanelFigInterface
Stylepanel which adds an operation checkbox and depends on FigInterface.
FigInterface
,
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 JLabel |
displayLabel
|
private JCheckBox |
operCheckBox
|
private boolean |
refreshTransaction
Flag to indicate that a refresh is going on. |
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 | |
StylePanelFigInterface()
The constructor. |
Method Summary | |
void |
insertUpdate(DocumentEvent e)
|
void |
itemStateChanged(ItemEvent e)
|
void |
refresh()
Handle a refresh of the style panel after the fig has moved. |
void |
removeUpdate(DocumentEvent e)
|
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, 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 JCheckBox operCheckBox
private JLabel displayLabel
private boolean refreshTransaction
Constructor Detail |
public StylePanelFigInterface()
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 insertUpdate(DocumentEvent e)
insertUpdate
in interface DocumentListener
insertUpdate
in class StylePanel
DocumentListener.insertUpdate(javax.swing.event.DocumentEvent)
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 |