Package arcommon.persistens
Class AbstractWindowSettings
- java.lang.Object
-
- arcommon.event.ActionList
-
- arcommon.persistens.AbstractWindowSettings
-
- All Implemented Interfaces:
ISettings,java.io.Serializable
- Direct Known Subclasses:
DialogSettings,FrameSettings
public abstract class AbstractWindowSettings extends ActionList implements ISettings
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_HEIGHT_CHANGEDstatic java.lang.StringEVENT_SETTINGS_CHANGEDstatic java.lang.StringEVENT_WIDTH_CHANGEDstatic java.lang.StringEVENT_X_CHANGEDstatic java.lang.StringEVENT_Y_CHANGED-
Fields inherited from class arcommon.event.ActionList
generalDoNotNotifyLevel, print
-
-
Constructor Summary
Constructors Constructor Description AbstractWindowSettings()AbstractWindowSettings(int pwidth, int pheight, int px, int py)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()intgetWidth()intgetX()intgetY()booleanisInitialized()voidloadWindowSettings(java.awt.Window window, boolean loadSize)booleansaveWindowSettings(java.awt.Window window, boolean saveSize)booleanset(int pwidth, int pheight, int px, int py)voidset(AbstractWindowSettings abstractFrameDialogSettings)voidsetHeight(int pheight)voidsetWidth(int pwidth)voidsetX(int px)voidsetY(int py)java.lang.StringtoString()voidvalidate()-
Methods inherited from class arcommon.event.ActionList
actionListenersIterator, actionListenersToString, actionListenersToString, addActionListener, addActionListeners, fireActionListeners, fireActionListeners, fireActionListeners, fireActionListeners, fireActionListeners, fireActionListenersSafeLog, fireActionListenersSafeLog, getActionList, getDoNotNotify, getLevel, isActionListenersEmpty, numberOfListeners, printActionListeners, printActionListeners, removeActionListener, removeAllActionListeners, setActionList, setDoNotNotify, setLevel
-
-
-
-
Field Detail
-
EVENT_WIDTH_CHANGED
public static final java.lang.String EVENT_WIDTH_CHANGED
- See Also:
- Constant Field Values
-
EVENT_HEIGHT_CHANGED
public static final java.lang.String EVENT_HEIGHT_CHANGED
- See Also:
- Constant Field Values
-
EVENT_X_CHANGED
public static final java.lang.String EVENT_X_CHANGED
- See Also:
- Constant Field Values
-
EVENT_Y_CHANGED
public static final java.lang.String EVENT_Y_CHANGED
- See Also:
- Constant Field Values
-
EVENT_SETTINGS_CHANGED
public static final java.lang.String EVENT_SETTINGS_CHANGED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractWindowSettings
public AbstractWindowSettings()
-
AbstractWindowSettings
public AbstractWindowSettings(int pwidth, int pheight, int px, int py)
-
-
Method Detail
-
isInitialized
public boolean isInitialized()
-
validate
public void validate()
-
loadWindowSettings
public void loadWindowSettings(java.awt.Window window, boolean loadSize)
-
saveWindowSettings
public boolean saveWindowSettings(java.awt.Window window, boolean saveSize)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int pwidth)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int pheight)
-
getX
public int getX()
-
setX
public void setX(int px)
-
getY
public int getY()
-
setY
public void setY(int py)
-
set
public void set(AbstractWindowSettings abstractFrameDialogSettings)
-
set
public boolean set(int pwidth, int pheight, int px, int py)
-
-