|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pf.joi.Preferences
public class Preferences
This singleton contains the general settings of JOI.
Method Summary | |
---|---|
int |
getDoubleClickMode()
Returns a open mode that defines where to inspect the selected element with a double-click. |
ElementFilter |
getInitialElementFilter()
Returns the a copy of the initial element filter |
int |
getMainMargin()
Returns the margin to be used inside the main window |
int |
getMiddleButtonMode()
Returns a open mode that defines where to inspect the selected element with pressing the middle mouse button. |
boolean |
getQuoteStrings()
Returns whether or not strings should be enclosed by quotes when shown in an inspector. |
int |
getTreeWidth()
Returns the the width of the tree view |
int |
getWindowHeight()
Returns the initial width for a window |
int |
getWindowWidth()
Returns the initial width for a window |
static Preferences |
instance()
Returns the only instance this class supports (design pattern "Singleton") |
boolean |
isAutoSortOn()
Returns true if automatic sorting of elements is desired |
boolean |
isEditingSupported()
Returns true if editing og object values is supported |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Preferences instance()
public int getWindowWidth()
public int getWindowHeight()
public int getMainMargin()
public int getTreeWidth()
public int getDoubleClickMode()
public int getMiddleButtonMode()
public boolean isAutoSortOn()
public boolean isEditingSupported()
public boolean getQuoteStrings()
public ElementFilter getInitialElementFilter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |