Package org.apache.pdfbox.debugger.ui
Class WindowPrefs
- java.lang.Object
-
- org.apache.pdfbox.debugger.ui.WindowPrefs
-
public class WindowPrefs extends java.lang.Object
A class to save windows position and size in preference using java Preference API.
-
-
Constructor Summary
Constructors Constructor Description WindowPrefs(java.lang.Class className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Rectangle
getBounds()
int
getDividerLocation()
int
getExtendedState()
void
setBounds(java.awt.Rectangle rect)
void
setDividerLocation(int divider)
void
setExtendedState(int extendedState)
-
-
-
Field Detail
-
KEY
private static final java.lang.String KEY
- See Also:
- Constant Field Values
-
pref
private final java.util.prefs.Preferences pref
-
-
Method Detail
-
setBounds
public void setBounds(java.awt.Rectangle rect)
-
getBounds
public java.awt.Rectangle getBounds()
-
setDividerLocation
public void setDividerLocation(int divider)
-
getDividerLocation
public int getDividerLocation()
-
setExtendedState
public void setExtendedState(int extendedState)
-
getExtendedState
public int getExtendedState()
-
-