|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.silvermindsoftware.hitch.binding.DefaultProperties
public class DefaultProperties
This class holds a mapping of objects or classes to their default property.
Constructor Summary | |
---|---|
DefaultProperties()
Constructor with support for common GUI elements. |
Method Summary | |
---|---|
org.jdesktop.beansbinding.Property |
getDefaultProperty(Object widget)
Returns the default property for a widget or widget class. |
void |
register(Object widget,
org.jdesktop.beansbinding.Property property)
Registers a new default property for a widget or widget class. |
void |
register(Object widget,
String property)
Registers a new default property for a widget or widget class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultProperties()
Method Detail |
---|
public void register(Object widget, String property)
widget
- the widget or widget classproperty
- the property as Stringpublic void register(Object widget, org.jdesktop.beansbinding.Property property)
widget
- the widget or widget classproperty
- the property as Propertypublic org.jdesktop.beansbinding.Property getDefaultProperty(Object widget)
widget
- the widget or widget class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |