|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPrintPreferences
A generic interface for preference containers for printing a diagram, which serves as abstraction for generic edit fields which store their values in a preference object
| Method Summary | |
|---|---|
double |
getDoublePreference(int atIndex)
Returns the double value of the preference with the given index. |
int |
getIntPreference(int atIndex)
Returns the integer value of the preference with the given index. |
void |
setDefaults()
Resets all preferences to their default values. |
void |
setDoublePreference(int atIndex,
double value)
Sets the double preference value of the preference at position atIndex to the given value. |
void |
setIntPreference(int atIndex,
int value)
Sets the integer preference value of the preference at position atIndex to the given value. |
| Method Detail |
|---|
void setDefaults()
void setIntPreference(int atIndex,
int value)
atIndex - The index of the preference to setvalue - The new value to setint getIntPreference(int atIndex)
atIndex - The index of the preference to return
void setDoublePreference(int atIndex,
double value)
atIndex - The index of the preference to setvalue - The new value to setdouble getDoublePreference(int atIndex)
atIndex - The index of the preference to return
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||