|
|||||||||||
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.cognitive.ui.WizStep
Each Critic may provide a Wizard to help fix the problem it identifies. The "Next>" button will advance through the steps of the wizard, and increase the blue progress bar on the ToDoItem "sticky note" icon in ToDo tree pane.
Critic
,
Wizard
,
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 JButton |
backButton
|
private JPanel |
buttonPanel
|
private JButton |
finishButton
|
private JButton |
helpButton
|
private static Logger |
LOG
|
private JPanel |
mainPanel
|
private JButton |
nextButton
|
private Object |
target
The current target |
private static ImageIcon |
WIZ_ICON
|
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 | |
WizStep()
The constructor. |
|
WizStep(Action helpAction)
The constructor. |
Method Summary | |
void |
actionPerformed(ActionEvent ae)
|
void |
changedUpdate(DocumentEvent e)
|
void |
doBack()
The Back button has been pressed, so we do the "back" action. |
void |
doFinsh()
The Finish button has been pressed, so we do the "finish" action. |
void |
doHelp()
Called when the Help button is pressed. |
void |
doNext()
The Next button has been pressed, so we do the "next" action. |
void |
enableButtons()
Enable/Disable the buttons. |
protected JPanel |
getMainPanel()
|
Object |
getTarget()
Deprecated. As of ArgoUml version 0.13.5, the visibility of this method will change in the future, replaced by TargetManager.getInstance().getTarget() .
this method will be removed in a couple of releases |
Wizard |
getWizard()
|
protected static ImageIcon |
getWizardIcon()
|
void |
insertUpdate(DocumentEvent e)
|
void |
refresh()
Set the target anew. |
void |
removeUpdate(DocumentEvent e)
|
protected static void |
setMnemonic(JButton b,
String key)
|
void |
setTarget(Object item)
Deprecated. since 0.15.3. The method in TabToDoTarget has been deprecated and replaced by TargetManager . |
void |
targetAdded(TargetEvent e)
Fired when a target is added to the list of targets. |
void |
targetRemoved(TargetEvent e)
Fired when a target is removed from the list of targets |
void |
targetSet(TargetEvent e)
Fired when a total new set of targets is set |
protected void |
updateTabToDo()
Set the target and make visible. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final Logger LOG
private static final ImageIcon WIZ_ICON
private JPanel mainPanel
private JButton backButton
private JButton nextButton
private JButton finishButton
private JButton helpButton
private JPanel buttonPanel
private Object target
Constructor Detail |
public WizStep()
public WizStep(Action helpAction)
helpAction
- an action which does the needful,
e.g. open a browser, display help,
when the according button had been pressed.Method Detail |
protected JPanel getMainPanel()
protected static ImageIcon getWizardIcon()
protected static final void setMnemonic(JButton b, String key)
b
- the button to set the mnemonic forkey
- the mnemonicpublic void setTarget(Object item)
TargetManager
.
item
- the target itempublic void enableButtons()
public Object getTarget()
TargetManager.getInstance().getTarget()
.
this method will be removed in a couple of releases
public void refresh()
public Wizard getWizard()
public void doBack()
public void doNext()
public void doFinsh()
public void doHelp()
protected void updateTabToDo()
public void actionPerformed(ActionEvent ae)
actionPerformed
in interface ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public void insertUpdate(DocumentEvent e)
insertUpdate
in interface DocumentListener
DocumentListener.insertUpdate(javax.swing.event.DocumentEvent)
public void removeUpdate(DocumentEvent e)
removeUpdate
in interface DocumentListener
DocumentListener.removeUpdate(javax.swing.event.DocumentEvent)
public void changedUpdate(DocumentEvent e)
changedUpdate
in interface DocumentListener
DocumentListener.changedUpdate(javax.swing.event.DocumentEvent)
public void targetAdded(TargetEvent e)
TargetListener
targetAdded
in interface TargetListener
e
- The targetevent, name will be TARGET_ADDEDTargetListener.targetAdded(org.argouml.ui.targetmanager.TargetEvent)
public void targetRemoved(TargetEvent e)
TargetListener
targetRemoved
in interface TargetListener
e
- The targetevent, name will be TARGET_REMOVEDTargetListener.targetRemoved(org.argouml.ui.targetmanager.TargetEvent)
public void targetSet(TargetEvent e)
TargetListener
targetSet
in interface TargetListener
e
- The targetevent, name will be TARGET_SETTargetListener.targetSet(org.argouml.ui.targetmanager.TargetEvent)
|
|||||||||||
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 |