|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--shared.DisplayPref
The DisplayPref class contains information on displaying options for MLJ inducers. There are seven possible preference settings(ASCIIDisplay, DotPostscriptDisplay, DotGraphDisplay, TreeVizDisplay, EviVizDisplay, RuleVizDisplay, and TableVizDisplay).
| Field Summary | |
static int |
ASCIIDisplay
The value indicating the ASCIIDisplay preference setting. |
static ASCIIPref |
defaultDisplayPref
The default display preferences. |
static int |
DisplayLandscape
The value indicating the DisplayLandscape orientation setting. |
static int |
DisplayPortrait
The value indicating the DisplayPortrait orientation setting. |
static int |
DotGraphDisplay
The value indicating the DotGraphDisplay preference setting. |
static int |
DotPostscriptDisplay
The value indicating the DotPostscriptDisplay preference setting. |
static int |
EviVizDisplay
The value indicating the EviVizDisplay preference setting. |
static int |
RatioDefault
The value indicating the RatioDefault ratio setting. |
static int |
RatioFill
The value indicating the RatioFill ratio setting. |
static int |
RuleVizDisplay
The value indicating the RuleVizDisplay preference setting. |
static int |
TableVizDisplay
The value indicating the TableVizDisplay preference setting. |
static int |
TreeVizDisplay
The value indicating the TreeVizDisplay preference setting. |
| Constructor Summary | |
DisplayPref(int preference)
Constructor. |
|
| Method Summary | |
boolean |
get_display_backfit_disks()
Returns whether the TreeVizPref setting is set to display bacfitting. |
int |
get_graph_size_x()
Returns the x coordinate for the graph size for the DotPostscriptPref setting. |
int |
get_graph_size_y()
Returns the y coordinate for the graph size for the DotPostscriptPref setting. |
int |
get_orientation()
Returns the orientation for the DotPostscriptPref setting. |
int |
get_page_size_x()
Returns the x coordinate for the page size for the DotPostscriptPref setting. |
int |
get_page_size_y()
Returns the y coordinate for the page size for the DotPostscriptPref setting. |
int |
get_ratio()
Returns the ratio for the DotPostscriptPref setting. |
int |
preference_type()
Returns the preference type. |
void |
set_display_backfit_disks(boolean disp)
Sets the TreeVizPref setting to display backfitting. |
void |
set_graph_size(int newX,
int newY)
Sets the graph size for the DotPostscriptPref setting. |
void |
set_orientation(int newOrientation)
Sets the orientation for the DotPostscriptPref setting. |
void |
set_page_size(int newX,
int newY)
Sets the page size for the DotPostscriptPref setting. |
void |
set_preference_type(int newpref)
Sets a new preference type. |
void |
set_ratio(int newRatio)
Sets the ratio for the DotPostscriptPref setting. |
java.lang.String |
toString()
Converts this object to a string value. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int ASCIIDisplay
public static final int DotPostscriptDisplay
public static final int DotGraphDisplay
public static final int TreeVizDisplay
public static final int EviVizDisplay
public static final int RuleVizDisplay
public static final int TableVizDisplay
public static final int DisplayLandscape
public static final int DisplayPortrait
public static final int RatioFill
public static final int RatioDefault
public static ASCIIPref defaultDisplayPref
| Constructor Detail |
public DisplayPref(int preference)
preference - The display preference type. Takes only integers 0-6 where
each integer represents an enumerated preference
type (ASCIIDisplay,etc).| Method Detail |
public int preference_type()
public void set_preference_type(int newpref)
newpref - The new preference type.public java.lang.String toString()
public int get_page_size_x()
public int get_page_size_y()
public int get_graph_size_x()
public int get_graph_size_y()
public int get_orientation()
public int get_ratio()
public void set_page_size(int newX,
int newY)
newX - The new x coordinate value for the page size.newY - The new y coordinate value for the page size.
public void set_graph_size(int newX,
int newY)
newX - The new x coordinate value for the page size.newY - The new y coordinate value for the page size.public void set_orientation(int newOrientation)
newOrientation - The new orientation setting.public void set_ratio(int newRatio)
newRatio - The new ratio setting.public boolean get_display_backfit_disks()
public void set_display_backfit_disks(boolean disp)
disp - TRUE if displaying backfitting is requested, FALSE otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||