|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A PreferenceHelp can be used to
perform common tasks involving preferences.
| Method Summary | |
void |
applyGridSettings()
Applies the settings given by the preferences to the CompositeViewGrid object of the CompositeView. |
void |
applyGridSettings(GraphDocument document)
Applies the grid settings of the preferences to the CompositeViewGrid object of the CompositeView
of the given Document. |
void |
applyRulerSettings()
Applies the settings given by the preferences to the CompositeViewRuler object of views. |
void |
applyRulerSettings(GraphDocument document)
Applies the Ruler Settings to the given document. |
java.io.File |
getCurrentDirectory()
Returns the current directory of this application. |
void |
initCurrentDirectory()
Initializes the currently used directory. |
void |
initFrameSizeAndPosition()
Initializes the size and the position of the top level frame to the values found in the preferences. |
void |
initToolbarVisibilties()
Called at Application start to initialize the visibilities of the Toolbar. |
void |
setCurrentDirectory(java.io.File directory)
Sets the currently used directory. |
void |
setLanguage(java.lang.String value)
Sets the used language to the one specified by value. |
void |
setLookAndFeel(java.lang.String laf)
Sets the look and feel to the one specified by value. |
void |
setTooltipsEnabled(boolean b)
Enables the tooltips if b is true. |
| Method Detail |
public void setLanguage(java.lang.String value)
value.
value - a string defining the language to be used.public void setLookAndFeel(java.lang.String laf)
value.
laf - a string defining the look and feel to be used.public void setTooltipsEnabled(boolean b)
true.
b - true, if tooltips should be displayed.public java.io.File getCurrentDirectory()
public void setCurrentDirectory(java.io.File directory)
directory - the directory to set.public void initFrameSizeAndPosition()
public void initCurrentDirectory()
public void applyRulerSettings(GraphDocument document)
document - the document to apply the new ruler settings to.public void applyRulerSettings()
CompositeViewRuler object of views.
public void applyGridSettings(GraphDocument document)
CompositeViewGrid object of the CompositeView
of the given Document.
document - the GraphDocument containing the grid to
configure.public void applyGridSettings()
CompositeViewGrid object of the CompositeView.
public void initToolbarVisibilties()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||