net.sf.doolin.gui.display
Class DisplayStateHandlerUtils
java.lang.Object
net.sf.doolin.gui.display.DisplayStateHandlerUtils
public class DisplayStateHandlerUtils
- extends Object
Utility methods for dealing with display states.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setupField
public static <V> void setupField(DisplayStateHandler displayStateHandler,
Field<V> field,
JComponent component)
- Sets the display state for a field.
- Type Parameters:
V - Type of the field- Parameters:
displayStateHandler - Display state handler to setfield - Field to setcomponent - Component for the field (it will receive the state)- See Also:
Field.getFieldDescriptor(),
FieldDescriptor.setDisplayState(Field,
JComponent, DisplayState)
Copyright © 2011. All Rights Reserved.