|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwebeq3.app.StyleConfigurationInfo
public class StyleConfigurationInfo
The class holds information about configurable features for
StyleEditorFrame and
StyleEditorDialog.
| Constructor Summary | |
|---|---|
StyleConfigurationInfo()
Constructs a new StyleConfigurationInfo object with the default options. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultStyle()
Returns which style will be used by default when creating a new (blank) equation. |
boolean |
getMenuEntryIncluded(int itemID)
Returns true if the specified menu item is included. |
boolean |
includeAutoItalicOption()
Returns true if the single character auto italic checkbox is included in the General Preferences dialog. |
boolean |
includeButtons()
Returns true if the "OK" and "Cancel" buttons are included. |
boolean |
includeCommonFunctionsOption()
Returns true if the recognize common functions checkbox is included in the General Preferences dialog. |
boolean |
includeFontFamilyOption()
Returns true if the font family option is included in the Font Properties dialog. |
boolean |
includeGreekUppercaseOption()
Returns true if the uppercase Greek normal checkbox is included in the General Preferences dialog. |
boolean |
includeParenthesesStretchyOption()
Returns true if the parentheses auto stretchy checkbox is included in the General Preferences dialog. |
boolean |
includeRenderDDDoublestruckOption()
Returns true if the differential d in double struck checkbox is included in the General Preferences dialog. |
boolean |
includeSpacebarOption()
Returns true if the spacebar behavior option is included in the General Preferences dialog. |
boolean |
includeStylesToolbar()
Returns true if the styles toolbar is included. |
boolean |
includeToolbarOption()
Returns true if the toolbar configuration option is included in the General Preferences dialog. |
void |
setDefaultStyle(java.lang.String style)
Sets which style will be used by default when creating a new (blank) equation. |
void |
setFontFamilyOption(boolean b)
Sets whether to include the font family option in the Font Properties dialog. |
void |
setHelp(int helpType)
Sets the help type for the help system. |
void |
setHelp(int helpType,
java.lang.String helpFile)
Sets the help type if you want to provide path to the HTML help page. |
void |
setIncludeAutoItalicOption(boolean b)
Sets whether to include the single character auto italic checkbox in the General Preferences dialog. |
void |
setIncludeButtons(boolean b)
Sets whether to include the "OK" and "Cancel" buttons. |
void |
setIncludeCommonFunctionsOption(boolean b)
Sets whether to include the recognize common functions checkbox in the General Preferences dialog. |
void |
setIncludeGreekUppercaseOption(boolean b)
Sets whether to include the uppercase Greek normal checkbox in the General Preferences dialog. |
void |
setIncludeParenthesesStretchyOption(boolean b)
Sets whether to include the parentheses auto stretchy checkbox in the General Preferences dialog. |
void |
setIncludeRenderDDDoublestruckOption(boolean b)
Sets whether to include the differential d in double struck checkbox in the General Preferences dialog. |
void |
setIncludeSpacebarOption(boolean b)
Sets whether to include the spacebar behavior option in the General Preferences dialog. |
void |
setIncludeStylesToolbar(boolean b)
Sets whether to include the styles toolbar. |
void |
setIncludeToolbarOption(boolean b)
Sets whether to include the toolbar configuration option in the General Preferences dialog. |
void |
setMenuEntryIncluded(int itemID,
boolean b)
Sets whether to include the specified menu item. |
void |
setTreatWindowClosingAsOK(boolean b)
Sets whether to treat closing the editor window by clicking "X" the same as clicking the "OK" button. |
boolean |
treatWindowClosingAsOK()
Returns true if closing the editor window by clicking "X" is treated the same as clicking the "OK" button. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleConfigurationInfo()
| Method Detail |
|---|
public java.lang.String getDefaultStyle()
public boolean getMenuEntryIncluded(int itemID)
itemID - the menu item ID
public boolean includeAutoItalicOption()
public boolean includeButtons()
public boolean includeCommonFunctionsOption()
public boolean includeFontFamilyOption()
public boolean includeGreekUppercaseOption()
public boolean includeParenthesesStretchyOption()
public boolean includeRenderDDDoublestruckOption()
public boolean includeSpacebarOption()
public boolean includeStylesToolbar()
public boolean includeToolbarOption()
public void setDefaultStyle(java.lang.String style)
style - the style to be used by default when creating a new (blank)
equationpublic void setFontFamilyOption(boolean b)
b - true if the font family option is to be includedpublic void setHelp(int helpType)
Sets the help type for the help system. Using this method doesn't allow you to set a path to your own HTML help file. Instead, it will use the default JavaHelp included with the SDK, or look for HTML in the same directory as the jar file. By default, the application uses JavaHelp.
helpType - Can be one of three help types:
setHelp(int, String)
public void setHelp(int helpType,
java.lang.String helpFile)
Sets the help type if you want to provide path to the HTML help page. For example, if you customize the sample HTML help file provided in the SDK, use this method to provide a path to the location of that file. By default, the application uses JavaHelp.
helpType - Can be one of three help types:
helpFile - Indicates the location of the HTML file containing the HTML help.
public void setIncludeAutoItalicOption(boolean b)
b - true if the single character auto italic checkbox is to be
includedpublic void setIncludeButtons(boolean b)
b - true if the "OK" and "Cancel" buttons are to be includedpublic void setIncludeCommonFunctionsOption(boolean b)
b - true if the recognize common functions checkbox is to be
includedpublic void setIncludeGreekUppercaseOption(boolean b)
b - true if the uppercase Greek normal checkbox is to be includedpublic void setIncludeParenthesesStretchyOption(boolean b)
b - true if the parentheses auto stretchy checkbox is to be includedpublic void setIncludeRenderDDDoublestruckOption(boolean b)
b - true if the differential d in double struck checkbox is to be
includedpublic void setIncludeSpacebarOption(boolean b)
b - true if the spacebar behavior option is to be includedpublic void setIncludeStylesToolbar(boolean b)
b - true if the styles toolbar is to be includedpublic void setIncludeToolbarOption(boolean b)
b - true if the toolbar configuration option is to be included
public void setMenuEntryIncluded(int itemID,
boolean b)
itemID - the menu item IDb - true if the specified menu item is to be includedUIConstantspublic void setTreatWindowClosingAsOK(boolean b)
b - true if closing the editor window by clicking "X" is treated the
same as clicking the "OK" buttonpublic boolean treatWindowClosingAsOK()
|
Copyright (c) 2015 Design Science All rights reserved |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||