|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jpos.config.simple.editor.JposEntryEditorConfig
This class contains all the JposEntryEditor configuration. It is serializable in order to persist its object for latter retrieval. It is also a Singleton class since only one configuration exist at a time.
Constructor Summary | |
(package private) |
JposEntryEditorConfig()
|
Method Summary | |
boolean |
getAutoDeleteEntryOnCopy()
|
boolean |
getAutoLoadCheckBox()
|
int |
getCurrentLookAndFeel()
|
int |
getCurrentTreeView()
|
boolean |
getExpandTreeCheckBox()
|
java.lang.String |
getFileDialogPath()
|
static JposEntryEditorConfig |
getInstance()
|
java.awt.Point |
getJposEntryMergerDialogLocation()
|
java.awt.Dimension |
getJposEntryMergerDialogSize()
|
int |
getMainFrameHDividerLocation()
|
java.awt.Point |
getMainFrameLocation()
|
java.awt.Dimension |
getMainFrameSize()
|
int |
getMainFrameVDividerLocation()
|
boolean |
getShowNumbersAsHexCheckBox()
|
boolean |
isSaved()
|
boolean |
isShowJCL12PropView()
|
void |
reset()
This methods sets all configuration properties to their default values |
void |
save()
This method serializes the single JposEntryEditor instance into a file named by the constant JPOSENTRYEDITORCONFIG_FILE_NAME. |
void |
setAutoDeleteEntryOnCopy(boolean b)
Setter method for the autoDeleteEntryOnExit config |
void |
setAutoLoadCheckBox(boolean b)
Setter method for the autoLoad check box |
void |
setCurrentLookAndFeel(int i)
Setter method for the currentLookAndFeel |
void |
setCurrentTreeView(int i)
Setter method for the currentTreeView |
void |
setExpandTreeCheckBox(boolean b)
Setter method for the expandTree check box |
void |
setFileDialogPath(java.lang.String path)
Sets the all file dialog path |
void |
setJposEntryMergerDialogLocation(java.awt.Point p)
Sets the jposEntryMergerDialogLocation instance variable |
void |
setJposEntryMergerDialogSize(java.awt.Dimension d)
Sets the jposEntryMergerDialogLocation instance variable |
void |
setMainFrameHDividerLocation(int i)
Setter method for the mainFrameHDividerLocation (Horizontal split pane) |
void |
setMainFrameLocation(java.awt.Point p)
Setter method for the logFileViewerFrameSize |
void |
setMainFrameSize(java.awt.Dimension d)
Setter method for the mainFrameSize |
void |
setMainFrameVDividerLocation(int i)
Setter method for the mainFrameVDividerLocation (Vertical split pane) |
void |
setShowJCL12PropView(boolean b)
Set if editor should display tab for JCL 1.2 view |
void |
setShowNumbersAsHexCheckBox(boolean b)
Setter method for the showNubersAsHex check box |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final java.awt.Dimension SCREENSIZE
public static final int WIDTH_INT
public static final int HEIGHT_INT
public static final double WIDTH
public static final double HEIGHT
public static final int DEFAULT_MAINFRAME_HSPLIT_DIVIDER_LOCATION
public static final int DEFAULT_MAINFRAME_VSPLIT_DIVIDER_LOCATION
public static final int MIN_SUPPORTED_WIDTH
public static final int MIN_SUPPORTED_HEIGHT
public static final int DEFAULT_MAINFRAME_WIDTH
public static final int DEFAULT_MAINFRAME_HEIGHT
public static final java.awt.Dimension DEFAULT_MAINFRAME_SIZE
public static final int DEFAULT_MAINFRAME_X_LOCATION
public static final int DEFAULT_MAINFRAME_Y_LOCATION
public static final java.awt.Point DEFAULT_MAINFRAME_LOCATION
public static final int DEFAULT_CONFIGURATIONFRAME_WIDTH
public static final int DEFAULT_CONFIGURATIONFRAME_HEIGHT
public static final java.awt.Dimension DEFAULT_CONFIGURATIONFRAME_SIZE
public static final int DEFAULT_CONFIGURATIONFRAME_X_LOCATION
public static final int DEFAULT_CONFIGURATIONFRAME_Y_LOCATION
public static final java.awt.Point DEFAULT_CONFIGURATIONFRAME_LOCATION
public static final int DEFAULT_MERGER_DIALOG_WIDTH
public static final int DEFAULT_MERGER_DIALOG_HEIGHT
public static final java.awt.Dimension DEFAULT_MERGER_DIALOG_SIZE
public static final int DEFAULT_MERGER_DIALOG_X_LOCATION
public static final int DEFAULT_MERGER_DIALOG_Y_LOCATION
public static final java.awt.Point DEFAULT_MERGER_DIALOG_LOCATION
public static final java.lang.String JPOSENTRYEDITORCONFIG_FILE_NAME
public static final java.lang.String DEFAULT_FILE_DIALOG_PATH
public static final int SORTEDVIEW
public static final int CATEGORYVIEW
public static final int MANUFACTURERVIEW
public static final int JAVALNF
public static final int NATIVELNF
public static final java.lang.String JPOSENTRYEDITOR_STRING
public static final java.lang.String ERRORSAVINGFILE_STRING
Constructor Detail |
JposEntryEditorConfig()
Method Detail |
public static JposEntryEditorConfig getInstance()
public boolean isSaved()
public void save()
public void reset()
public java.awt.Point getMainFrameLocation()
public java.awt.Dimension getMainFrameSize()
public java.awt.Point getJposEntryMergerDialogLocation()
public java.awt.Dimension getJposEntryMergerDialogSize()
public int getMainFrameHDividerLocation()
public int getMainFrameVDividerLocation()
public int getCurrentLookAndFeel()
public int getCurrentTreeView()
public boolean getExpandTreeCheckBox()
public boolean getShowNumbersAsHexCheckBox()
public boolean getAutoLoadCheckBox()
public boolean getAutoDeleteEntryOnCopy()
public boolean isShowJCL12PropView()
public java.lang.String getFileDialogPath()
public void setMainFrameLocation(java.awt.Point p)
p
- the Point parameterpublic void setMainFrameSize(java.awt.Dimension d)
d
- the Dimension parameterpublic void setJposEntryMergerDialogLocation(java.awt.Point p)
p
- the Pointpublic void setJposEntryMergerDialogSize(java.awt.Dimension d)
d
- the Dimensionpublic void setMainFrameHDividerLocation(int i)
i
- the int parameterpublic void setMainFrameVDividerLocation(int i)
i
- the int parameterpublic void setCurrentLookAndFeel(int i)
i
- the int parameterpublic void setCurrentTreeView(int i)
i
- the int parameterpublic void setExpandTreeCheckBox(boolean b)
b
- the boolean parameterpublic void setShowNumbersAsHexCheckBox(boolean b)
b
- the boolean parameterpublic void setAutoLoadCheckBox(boolean b)
b
- the boolean parameterpublic void setAutoDeleteEntryOnCopy(boolean b)
b
- the boolean parameterpublic void setShowJCL12PropView(boolean b)
b
- the boolean parameterpublic void setFileDialogPath(java.lang.String path)
path
- the File whose path will be used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |