|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.umlv.unitex.Preferences
public class Preferences
This class describes graph presentation preferences.
Field Summary | |
---|---|
boolean |
antialiasing
Indicates if the graph must be rendered with an antialiasing effect or not |
java.awt.Color |
backgroundColor
Background color |
boolean |
charByChar
Indicates if the language must be processed char by char or not |
java.awt.Color |
commentColor
Color used to draw comment boxes, i.e. boxes with no input or output transition |
boolean |
date
Indicates if the date must be shown on graphs |
boolean |
filename
Indicates if file names must be shown on graphs |
java.awt.Color |
foregroundColor
Foreground color, used to draw text, boxes and transitions |
boolean |
frame
Indicates if a frame must be drawn around the graph |
java.lang.String |
htmlFontName
Name of the font used to render HTML concordances |
int |
htmlFontSize
HTML size of the font used to render HTML concordances (1 to 7) |
java.io.File |
htmlViewer
Name of the external program to use to view HTML concordances. |
java.lang.String |
iconBarPosition
|
java.awt.Font |
input
Box input font |
int |
inputFontStyle
Style of input font |
int |
inputSize
Size of input font |
int |
MAX_TEXT_FILE_SIZE
Maximum size in bytes of text files. |
java.awt.Font |
output
Box output font |
int |
outputFontStyle
Style of output font |
int |
outputSize
Size of output font |
boolean |
pathname
Indicates if path name must be shown on graphs |
static Preferences |
pref
General preferences |
boolean |
rightToLeft
Indicates if the language must be read from right to left or not |
java.awt.Color |
selectedColor
Color used to draw selected boxes |
java.awt.Color |
subgraphColor
Color used to draw box lines that refer to sub-graphs |
java.awt.Font |
textFont
Text font used in edition text field |
int |
textFontSize
Size of edition text field font |
int |
textFontStyle
Style of edition text field font |
Constructor Summary | |
---|---|
Preferences()
Constructs a new Preferences , using
language configuration values. |
Method Summary | |
---|---|
Preferences |
getClone()
|
static Preferences |
getCloneOfPreferences()
|
static java.lang.String |
getConcordanceFontName()
|
static int |
getConcordanceFontSize()
|
static void |
reset()
Sets the values to the default ones for the. |
static void |
savePreferences(Preferences p)
Saves Preferences p to the current language
configuration file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.awt.Font input
public java.awt.Font output
public java.awt.Font textFont
public java.awt.Color backgroundColor
public java.awt.Color foregroundColor
public java.awt.Color subgraphColor
public java.awt.Color selectedColor
public java.awt.Color commentColor
public boolean date
public boolean filename
public boolean pathname
public boolean frame
public int inputSize
public int outputSize
public int textFontSize
public int inputFontStyle
public int outputFontStyle
public int textFontStyle
public java.lang.String htmlFontName
public int htmlFontSize
public boolean antialiasing
public java.io.File htmlViewer
null
,
concordances will be shown in a Unitex frame
public boolean charByChar
public boolean rightToLeft
public int MAX_TEXT_FILE_SIZE
public java.lang.String iconBarPosition
public static Preferences pref
Constructor Detail |
---|
public Preferences()
Preferences
, using
language configuration values.
Method Detail |
---|
public static void reset()
public static void savePreferences(Preferences p)
Preferences
p to the current language
configuration file.
p
- public Preferences getClone()
public static Preferences getCloneOfPreferences()
public static java.lang.String getConcordanceFontName()
public static int getConcordanceFontSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |