|
|||||||||||
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
The style panel.
Nested 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 static Logger |
LOG
|
private org.tigris.gef.presentation.Fig |
panelTarget
|
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 | |
StylePanel(String title)
The constructor. |
Method Summary | |
void |
actionPerformed(ActionEvent ae)
|
void |
changedUpdate(DocumentEvent e)
|
protected org.tigris.gef.presentation.Fig |
getPanelTarget()
|
Object |
getTarget()
get the current target |
void |
insertUpdate(DocumentEvent e)
|
void |
itemStateChanged(ItemEvent e)
|
void |
refresh()
Refreshes the tab IN TOTAL |
void |
refresh(PropertyChangeEvent e)
This method must be overriden by implementors if they don't want to refresh the whole stylepanel every time a property change events is fired. |
void |
removeUpdate(DocumentEvent e)
|
void |
setTarget(Object t)
set the target |
boolean |
shouldBeEnabled(Object target)
Style panels ony apply when a Fig is selected. |
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 |
void |
valueChanged(ListSelectionEvent lse)
|
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 |
Field Detail |
private static final Logger LOG
private org.tigris.gef.presentation.Fig panelTarget
Constructor Detail |
public StylePanel(String title)
title
- the panel titleMethod Detail |
public void refresh(PropertyChangeEvent e)
TabTarget.refresh()
public void setTarget(Object t)
TabTarget
setTarget
in interface TabTarget
t
- the target to setTabTarget.setTarget(java.lang.Object)
public Object getTarget()
TabTarget
getTarget
in interface TabTarget
TabTarget.getTarget()
public void refresh()
TabTarget
refresh
in interface TabTarget
TabTarget.refresh()
public boolean shouldBeEnabled(Object target)
shouldBeEnabled
in interface TabTarget
target
- the given target
TabTarget.shouldBeEnabled(java.lang.Object)
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 itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
ItemListener.itemStateChanged(java.awt.event.ItemEvent)
public void valueChanged(ListSelectionEvent lse)
valueChanged
in interface ListSelectionListener
ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent)
public void actionPerformed(ActionEvent ae)
actionPerformed
in interface ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public void targetAdded(TargetEvent e)
TargetListener
targetAdded
in interface TargetListener
e
- The targetevent, name will be TARGET_ADDEDTargetListener.targetAdded(
TargetEvent)
public void targetRemoved(TargetEvent e)
TargetListener
targetRemoved
in interface TargetListener
e
- The targetevent, name will be TARGET_REMOVEDTargetListener.targetRemoved(
TargetEvent)
public void targetSet(TargetEvent e)
TargetListener
targetSet
in interface TargetListener
e
- The targetevent, name will be TARGET_SETTargetListener.targetSet(TargetEvent)
protected org.tigris.gef.presentation.Fig getPanelTarget()
|
|||||||||||
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 |