com.threerings.admin.web.client
Class ConfigFieldEditor
java.lang.Object
com.threerings.admin.web.client.ConfigFieldEditor
- Direct Known Subclasses:
- ConfigFieldEditor.CheckboxFieldEditor, ConfigFieldEditor.StringFieldEditor
public abstract class ConfigFieldEditor
- extends Object
A class responsible for constructing and exporting the widgets involved in manipulating
one specific configuration field.
|
Field Summary |
protected ConfigField |
_field
|
protected com.google.gwt.user.client.ui.Label |
_name
|
protected com.google.gwt.user.client.Command |
_onChange
|
protected com.google.gwt.user.client.ui.Label |
_reset
|
protected com.google.gwt.user.client.ui.Widget |
_value
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_field
protected ConfigField _field
_onChange
protected com.google.gwt.user.client.Command _onChange
_name
protected com.google.gwt.user.client.ui.Label _name
_reset
protected com.google.gwt.user.client.ui.Label _reset
_value
protected com.google.gwt.user.client.ui.Widget _value
ConfigFieldEditor
public ConfigFieldEditor(ConfigField field,
com.google.gwt.user.client.Command onChange)
getEditorFor
public static ConfigFieldEditor getEditorFor(ConfigField field,
com.google.gwt.user.client.Command onChange)
updateModificationState
protected void updateModificationState()
getNameWidget
public com.google.gwt.user.client.ui.Widget getNameWidget()
getValueWidget
public com.google.gwt.user.client.ui.Widget getValueWidget()
getResetWidget
public com.google.gwt.user.client.ui.Widget getResetWidget()
getModifiedField
public abstract ConfigField getModifiedField()
buildWidget
protected abstract com.google.gwt.user.client.ui.Widget buildWidget(ConfigField field)
resetField
protected abstract void resetField()