ewe.sys
Class VMOptions
java.lang.Object
ewe.data.DataObject
ewe.data.LiveObject
ewe.sys.VMOptions
- All Implemented Interfaces:
- Comparable, Copyable, DataUnit, FieldListener, LiveData
- public class VMOptions
- extends LiveObject
|
Method Summary |
void |
action(String fieldName,
Editor ed)
This gets called by action(FieldTransfer ft,Editor ed) and by fieldChanged(FieldTransfer ft,Editor ed)
if the field changed is a menu item. |
void |
addToPanel(CellPanel cp,
Editor ed,
int options)
Override this to provide the user interface for editing the Object. |
boolean |
apply()
|
static boolean |
createShortcutToEwe()
|
protected TextDecoder |
decode(TextDecoder te)
Override this to decode the fields that you want to decode. |
static boolean |
doExtraAction(String actionName,
Frame parent)
|
static boolean |
doExtraContextAction(VMApp app,
String action,
Frame parent)
|
static void |
doStartUp(Frame parent)
|
protected TextEncoder |
encode(TextEncoder te)
Override this to encode the fields that you want to encode. |
void |
fieldChanged(String fieldName,
Editor ed)
This gets called by fieldChanged(FieldTransfer ft,Editor ed). |
static String[] |
getExtraActions()
|
static String[] |
getExtraContextActions()
|
static VMOptions |
getVMOptions()
|
boolean |
read()
|
void |
readAndApply()
|
boolean |
save()
|
void |
showRestartMessage()
|
Font |
toFont()
|
| Methods inherited from class ewe.data.LiveObject |
action, addMeToPanel, addObjectToPanel, decoded, decodeFields, enableEditorScrolling, encoded, encodeFields, fieldChanged, fieldEvent, getEditor, getEditorScroller, getIcon, getName, input, makeNewEditor, runAsApp, textDecode, textEncode |
| Methods inherited from class ewe.data.DataObject |
_getSetField, appendAllFields, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew |
showIcon
public boolean showIcon
launcherTree
public boolean launcherTree
launcherStart
public String launcherStart
exitAfterLaunch
public boolean exitAfterLaunch
keepVmResident
public boolean keepVmResident
singleWindowed
public boolean singleWindowed
fixedSIPButton
public boolean fixedSIPButton
systemFontName
public String systemFontName
systemFontSize
public int systemFontSize
guiFontStyle
public int guiFontStyle
style
public int style
fontChooser
public FontChooser fontChooser
fixedFontName
public String fixedFontName
_fields
public String _fields
pathToEwe
public String pathToEwe
currentDir
public static String currentDir
VMOptions
public VMOptions()
getVMOptions
public static VMOptions getVMOptions()
readAndApply
public void readAndApply()
getExtraActions
public static String[] getExtraActions()
doExtraAction
public static boolean doExtraAction(String actionName,
Frame parent)
getExtraContextActions
public static String[] getExtraContextActions()
doExtraContextAction
public static boolean doExtraContextAction(VMApp app,
String action,
Frame parent)
encode
protected TextEncoder encode(TextEncoder te)
- Description copied from class:
LiveObject
- Override this to encode the fields that you want to encode. The LiveObject implementation of
this automatically encodes all the fields for each class in the hierarchy that does not
override encode(TextEncoder te);
- Overrides:
encode in class LiveObject
decode
protected TextDecoder decode(TextDecoder te)
- Description copied from class:
LiveObject
- Override this to decode the fields that you want to decode. The LiveObject implementation of
this automatically decodes all the fields for each class in the hierarchy that does not
override decode(TextDecoder td);
- Overrides:
decode in class LiveObject
addToPanel
public void addToPanel(CellPanel cp,
Editor ed,
int options)
- Description copied from class:
LiveObject
- Override this to provide the user interface for editing the Object.
Add all your controls to the CellPanel cp, and your fields to the Editor ed.
The options parameter may be used to specify a different Editor for the
Object for different situations - it is the same parameter that is passed
to the LiveData.getEditor(int options) call.
- Overrides:
addToPanel in class LiveObject
toFont
public Font toFont()
showRestartMessage
public void showRestartMessage()
action
public void action(String fieldName,
Editor ed)
- Description copied from class:
LiveObject
- This gets called by action(FieldTransfer ft,Editor ed) and by fieldChanged(FieldTransfer ft,Editor ed)
if the field changed is a menu item.
By default it will look for
a method called void _action(Editor ed) and if it finds it, it will be executed.
- Overrides:
action in class LiveObject
fieldChanged
public void fieldChanged(String fieldName,
Editor ed)
- Description copied from class:
LiveObject
- This gets called by fieldChanged(FieldTransfer ft,Editor ed).
By default it will look for
a method called void _changed(Editor ed) and if it finds it, it will be executed.
- Overrides:
fieldChanged in class LiveObject
read
public boolean read()
save
public boolean save()
apply
public boolean apply()
createShortcutToEwe
public static boolean createShortcutToEwe()
doStartUp
public static void doStartUp(Frame parent)