public abstract class ObjectEditor<T> extends Object implements GUIEditor<T>
Modifier and Type | Field and Description |
---|---|
protected Object |
master |
protected T |
o |
protected List<ObjectPropertyEditorUI> |
v_listener |
protected List |
v_prop |
Constructor and Description |
---|
ObjectEditor() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ObjectPropertyEditorUI l) |
Object[] |
getArgs() |
Component |
getComponent() |
abstract int |
getIntValue(int prop) |
Object |
getMasterObject() |
List |
getProperties() |
abstract Object |
getRawValue(int prop) |
abstract String |
getStringValue(int prop) |
abstract boolean |
isValidValue(int prop,
int value) |
abstract boolean |
isValidValue(int prop,
String value) |
void |
performAction(int prop) |
void |
refresh(boolean force) |
void |
release() |
void |
removeListener(ObjectPropertyEditorUI l) |
void |
setEditedItem(T o) |
abstract boolean |
setValue(int prop,
int value) |
abstract boolean |
setValue(int prop,
String value) |
protected List<ObjectPropertyEditorUI> v_listener
protected List v_prop
protected T o
protected Object master
public Object getMasterObject()
public abstract String getStringValue(int prop)
public abstract int getIntValue(int prop)
public abstract boolean isValidValue(int prop, String value)
public abstract boolean isValidValue(int prop, int value)
public abstract boolean setValue(int prop, String value)
public abstract boolean setValue(int prop, int value)
public void setEditedItem(T o)
setEditedItem
in interface GUIEditor<T>
public void refresh(boolean force)
public void release()
public void addListener(ObjectPropertyEditorUI l)
public void removeListener(ObjectPropertyEditorUI l)
public List getProperties()
public abstract Object getRawValue(int prop)
public void performAction(int prop)
public Component getComponent()
getComponent
in interface GUIEditor<T>
public Object[] getArgs()
Copyright © 2005–2020. All rights reserved.