jpos.config.simple.editor
Class PropertiesEditor

java.lang.Object
  |
  +--jpos.config.simple.editor.PropertiesEditor

public class PropertiesEditor
extends java.lang.Object

Simple entry point to start the PropertiesEditor application

Since:
1.3 (Washington DC 2001 meeting)
Author:
E. Michael Maximilien (maxim@us.ibm.com)

Field Summary
static int DISPOSE_ON_CLOSE
           
static int DO_NOTHING_ON_CLOSE
           
static int EXIT_ON_CLOSE
           
static int HIDE_ON_CLOSE
           
 
Method Summary
static javax.swing.JFrame getFrame()
           
static void main(java.lang.String[] args)
          Main entry point of the editor application
static void setDefaultFrameCloseOperation(int operation)
          Exposes the JFrame of the application setDefaultCloseOperation this is needed to allow integration of the editor into other Java application otherwise if the default is used then the frame will exit and exit the application as well.
static void setFrameVisible(boolean b)
          Hides or shows the Frame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DO_NOTHING_ON_CLOSE

public static final int DO_NOTHING_ON_CLOSE

HIDE_ON_CLOSE

public static final int HIDE_ON_CLOSE

DISPOSE_ON_CLOSE

public static final int DISPOSE_ON_CLOSE

EXIT_ON_CLOSE

public static final int EXIT_ON_CLOSE
Method Detail

main

public static void main(java.lang.String[] args)
Main entry point of the editor application
Parameters:
args - the command line arguments

setFrameVisible

public static void setFrameVisible(boolean b)
Hides or shows the Frame
Parameters:
b - the boolean param

setDefaultFrameCloseOperation

public static void setDefaultFrameCloseOperation(int operation)
Exposes the JFrame of the application setDefaultCloseOperation this is needed to allow integration of the editor into other Java application otherwise if the default is used then the frame will exit and exit the application as well. This method allows user to customize the closing of the editor.
See Also:
JposEntryEditor.DO_NOTHING_ON_CLOSE, JposEntryEditor.HIDE_ON_CLOSE, JposEntryEditor.DISPOSE_ON_CLOSE, JposEntryEditor.EXIT_ON_CLOSE

getFrame

public static javax.swing.JFrame getFrame()
Returns:
the Frame and contructs it lazily if necessary


This API and code belongs to the JavaPOS committee please see LISCENCE file for details