com.swfm.mica.view
Class MiModelPropertiesFileWidget
java.lang.Object
com.swfm.mica.view.MiModelPropertiesFileWidget
- public class MiModelPropertiesFileWidget
- extends java.lang.Object
This class reads and writes files based on a model entity container
by reading/writing each model in the container from/to a single line
in the file.
Lines are of form:
name = X, property1=value1, proerpty2=value2, ...
This can be used for storing preferences or other configuration info.
- Version:
- %I% %G%
- Author:
- Michael L. Davis
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiModelPropertiesFileWidget
public MiModelPropertiesFileWidget()
MiModelPropertiesFileWidget
public MiModelPropertiesFileWidget(java.lang.String filename,
java.lang.String[] defaults,
java.lang.String dialogTitle)
load
public void load(java.lang.String filename,
java.lang.String[] defaults,
java.lang.String dialogTitle)
save
public void save()
getDialogBox
public MiDialogBoxTemplate getDialogBox(MiEditor parent)
getModel
public MiiModelEntity getModel()
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String propertyName)
setPropertyValue
public void setPropertyValue(java.lang.String propertyName,
java.lang.String propertyValue)