de.grogra.pf.ui
public class UIProperty extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static UIProperty |
ICON |
static int |
PANEL |
static UIProperty |
PANEL_TITLE |
static int |
WINDOW |
static UIProperty |
WINDOW_LAYOUT |
static int |
WORKBENCH |
static UIProperty |
WORKBENCH_SELECTION |
static UIProperty |
WORKBENCH_TITLE |
| Modifier | Constructor and Description |
|---|---|
protected |
UIProperty(java.lang.String name,
int source) |
protected |
UIProperty(java.lang.String name,
int source,
boolean postEvent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyListener(Context context,
EventListener listener) |
void |
firePropertyChange(Context ctx,
java.lang.Object oldValue,
java.lang.Object newValue,
java.lang.Object info) |
static UIProperty |
get(java.lang.String name,
java.lang.String declaringClass,
java.lang.ClassLoader loader) |
java.lang.String |
getName() |
static UIProperty |
getOrCreate(java.lang.String name,
int source) |
Context |
getSource(Context context) |
static int |
getSource(java.lang.String source) |
java.lang.Object |
getValue(Context context) |
protected java.lang.Object |
initialValue(Context context) |
void |
removePropertyListener(Context context,
EventListener listener) |
void |
setValue(Context context,
java.lang.Object value) |
public static final UIProperty ICON
public static final int PANEL
public static final UIProperty PANEL_TITLE
public static final int WINDOW
public static final UIProperty WINDOW_LAYOUT
public static final int WORKBENCH
public static final UIProperty WORKBENCH_SELECTION
public static final UIProperty WORKBENCH_TITLE
protected UIProperty(java.lang.String name,
int source)
protected UIProperty(java.lang.String name,
int source,
boolean postEvent)
public void addPropertyListener(Context context, EventListener listener)
public void firePropertyChange(Context ctx, java.lang.Object oldValue, java.lang.Object newValue, java.lang.Object info)
public static UIProperty get(java.lang.String name, java.lang.String declaringClass, java.lang.ClassLoader loader)
public java.lang.String getName()
public static UIProperty getOrCreate(java.lang.String name, int source)
public static int getSource(java.lang.String source)
public java.lang.Object getValue(Context context)
protected java.lang.Object initialValue(Context context)
public void removePropertyListener(Context context, EventListener listener)
public void setValue(Context context, java.lang.Object value)