|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.ui.ai.logic.EditorUtilities
public class EditorUtilities
Provides utilities used by editors in the logic system.
Method Summary | |
---|---|
void |
addPropertyChangeListeners(JComponent component,
String propertyName,
PropertyChangeListener[] listeners)
Add the given property change listeners for the given property name to the given component. |
protected boolean |
contains(JComponent parent,
Component component)
Return true if the given component is contained in the given parent. |
static EditorUtilities |
getInstance()
Return the singleton instance. |
protected void |
packParent(Component component)
Pack the parent of the given component. |
PropertyChangeListener[] |
removePropertyChangeListeners(JComponent component,
String propertyName)
Remove all property change listeners for the given property name from the given component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EditorUtilities getInstance()
public void addPropertyChangeListeners(JComponent component, String propertyName, PropertyChangeListener[] listeners)
component
- Component.propertyName
- Property name.listeners
- Property change listeners.public PropertyChangeListener[] removePropertyChangeListeners(JComponent component, String propertyName)
component
- Component.propertyName
- Property name.
PropertyChangeListener
s removed.protected boolean contains(JComponent parent, Component component)
protected void packParent(Component component)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |