|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.zcu.fav.kiv.editor.controller.options.OptionController
public class OptionController
The OptionController
class is used for loading and saving editor options.
Constructor Summary | |
---|---|
OptionController()
|
Method Summary | |
---|---|
static void |
readOptions()
Fills application properties property firstly by default option values and
then by the option values loaded from the editor configuration file. |
static void |
setDefaultEditorOptions()
Rewrites application properties property by default option values specifying
editor options. |
static void |
setDefaultStylesheetOptions()
Rewrites application properties property by default option values specifying
stylesheet options. |
static void |
storeOptionItems()
Saves values in the system properties property to the editor configuration
file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptionController()
Method Detail |
---|
public static void readOptions()
property
firstly by default option values and
then by the option values loaded from the editor configuration file. The option values loaded
from the configuration file rewrites the corresponding default option values.
Then maps values from application properties property
to the corresponding
variables defined in OptionItems
.
public static void setDefaultStylesheetOptions()
property
by default option values specifying
stylesheet options. Then maps values from system properties property
(only
those specifying stylesheet options) to the corresponding variables defined in
OptionItems
.
public static void setDefaultEditorOptions()
property
by default option values specifying
editor options. Then maps values from system properties property
(only those
specifying editor options) to the corresponding variables defined in OptionItems
.
public static void storeOptionItems()
property
to the editor configuration
file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |