public class PropertyWidget
extends java.lang.Object
Constructor and Description |
---|
PropertyWidget() |
Modifier and Type | Method and Description |
---|---|
static PropertyModeButton |
addModeButtonIfNecessary(LabeledControl widget,
InheritableProperty prop) |
static void |
addModeButtonOrSpace(LabeledComponentBase widget,
Property prop) |
static void |
addModeButtonSpace(LabeledComponentBase widget) |
static boolean |
canCreate(PropertyInfo info) |
static boolean |
canCreateWithSlider(PropertyInfo info) |
static javax.swing.JComponent |
create(HasProperties host,
java.lang.String name) |
static LabeledComponentBase |
create(HasProperties host,
java.lang.String name,
double min,
double max) |
static LabeledComponentBase |
create(Property prop) |
static LabeledComponentBase |
create(Property prop,
double min,
double max) |
static LabeledComponentBase |
create(java.lang.String labelText,
HasProperties host,
java.lang.String name) |
static LabeledComponentBase |
create(java.lang.String labelText,
HasProperties host,
java.lang.String name,
double min,
double max) |
static void |
finishWidget(LabeledComponentBase widget,
Property prop) |
static PropertyModeButton |
getModeButton(java.awt.Component comp) |
static NumericInterval |
getNumericRange(Property prop) |
static Property |
getProperty(LabeledComponentBase widget) |
static boolean |
hasModeButton(java.awt.Component comp) |
static boolean |
initializeWidget(LabeledComponentBase widget,
Property prop) |
static void |
setModeAppearance(LabeledControl control,
java.awt.Container parent,
PropertyMode mode) |
static void |
setSynchronizeObject(javax.swing.JComponent widget,
java.lang.Object syncObj) |
static void |
updateValue(LabeledControl widget,
Property prop) |
public static javax.swing.JComponent create(HasProperties host, java.lang.String name)
public static LabeledComponentBase create(HasProperties host, java.lang.String name, double min, double max)
public static LabeledComponentBase create(java.lang.String labelText, HasProperties host, java.lang.String name)
public static LabeledComponentBase create(java.lang.String labelText, HasProperties host, java.lang.String name, double min, double max)
public static LabeledComponentBase create(Property prop, double min, double max)
public static NumericInterval getNumericRange(Property prop)
public static boolean canCreateWithSlider(PropertyInfo info)
public static boolean canCreate(PropertyInfo info)
public static LabeledComponentBase create(Property prop)
public static void updateValue(LabeledControl widget, Property prop)
public static void finishWidget(LabeledComponentBase widget, Property prop)
public static boolean initializeWidget(LabeledComponentBase widget, Property prop)
public static boolean hasModeButton(java.awt.Component comp)
public static PropertyModeButton getModeButton(java.awt.Component comp)
public static void setSynchronizeObject(javax.swing.JComponent widget, java.lang.Object syncObj)
public static Property getProperty(LabeledComponentBase widget)
public static PropertyModeButton addModeButtonIfNecessary(LabeledControl widget, InheritableProperty prop)
public static void addModeButtonSpace(LabeledComponentBase widget)
public static void addModeButtonOrSpace(LabeledComponentBase widget, Property prop)
public static void setModeAppearance(LabeledControl control, java.awt.Container parent, PropertyMode mode)