|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.SoftWoehr.JTOpenContrib.MEU.MEU
Create an MEU editing session.
Field Summary | |
static java.lang.String |
MEU_VERSION
Identify version of release |
Constructor Summary | |
MEU()
Creates new MEU |
|
MEU(java.lang.String propertiesFileName)
Creates a new MEU with the desired properties |
|
MEU(java.lang.String propertiesFileName,
java.lang.String serverName,
java.lang.String ifsPath)
Creates new MEU on a properties file, server name, ifs path. |
Method Summary | |
java.awt.Point |
cascade()
Cascade all frames |
boolean |
closeRequested(MEUFrame f)
An MEU Frame has signalled its MEUController that it wants to exit. |
void |
defaultSession()
Open a first empty edit window |
void |
defaultSession(java.lang.String serverName,
java.lang.String ifsPath)
Open a first edit window on a server and file member |
void |
eventQCDemo(java.awt.event.ActionEvent evt)
Bring up an operations navigator |
void |
freeServer(ServiceRecord serviceRecord)
Let go of a server for an MEUEditBuffer |
int |
getIntProperty(java.lang.String property)
Get a specific int property. |
java.lang.String |
getProperty(java.lang.String property)
Get a property stored by this application controller |
QCPartnerFrame |
getQCDemo()
Instance QCDemo if necessary and show window |
ServiceRecord |
getServer(java.lang.String systemName,
ServiceClient client)
Fetch a server for an MEUEditBuffer ... |
boolean |
isAllowedToExit()
If set false, closes which would do System.exit() don't. |
void |
loadProperties(java.lang.String filename)
Load the properties from a props file. |
static void |
main(java.lang.String[] argv)
Runs the SoftWoehr MEU editor |
void |
newFrame(java.awt.Point location)
Create a new frame, add it to the collection MEU manages, and show it |
void |
newFrame(java.awt.Point location,
java.lang.String serverName,
java.lang.String ifsPath)
Create a new frame, add it to the collection MEU manages, open a file member and show it |
boolean |
requestShutdown(MEUFrame f)
Iterate through frames requesting shutdown. |
void |
setAllowedToExit(boolean tf)
If set false, closes which would do System.exit() don't. |
java.lang.String |
setProperty(java.lang.String property,
java.lang.String value)
Set a property stored by this application controller. |
void |
storeProperties(java.lang.String filename)
Store the properties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MEU_VERSION
Constructor Detail |
public MEU()
public MEU(java.lang.String propertiesFileName, java.lang.String serverName, java.lang.String ifsPath)
propertiesFileName
- Relative or full pathname of MEU properties file to open.serverName
- Name of server to access.ifsPath
- Fully qualified IFS pathname of file member to edit.public MEU(java.lang.String propertiesFileName)
propertiesFileName
- MEU properties file name to open and parse and use.Method Detail |
public ServiceRecord getServer(java.lang.String systemName, ServiceClient client) throws Mgr.UnknownServiceException, Mgr.UnknownProtocolException
systemName
- System one needs an AS400 object for.client
- The instance which needs the service record (AS400 obj).UnknownServiceException
- If the service requested is unknown.UnknownProtocolException
- If the protocol requested is unknown.public void freeServer(ServiceRecord serviceRecord) throws Mgr.InvalidServiceRecordException
serviceRecord
- The original return from getServer()InvalidServiceRecordException
- If the Mgr doesn't know anything about the sr fed to it.public void defaultSession()
public void defaultSession(java.lang.String serverName, java.lang.String ifsPath)
serverName
- The server on which the member resides.ifsPath
- The fully-qualified source physical file member IFS path.public void newFrame(java.awt.Point location)
location
- Position on desktop for window to appear.public void newFrame(java.awt.Point location, java.lang.String serverName, java.lang.String ifsPath)
location
- Position on desktop for window to appear. May be null, then default position used.serverName
- Name of server to open on. May be null, in which case default or none is used.ifsPath
- The fully-qualified source physical file member IFS path.public void loadProperties(java.lang.String filename)
filename
- Java-style properties file to load from.public void storeProperties(java.lang.String filename)
filename
- Write current user-set properties to a file.public java.lang.String getProperty(java.lang.String property)
property
- Name of propertypublic java.lang.String setProperty(java.lang.String property, java.lang.String value)
property
- Name of property to setvalue
- Value of property to setpublic int getIntProperty(java.lang.String property) throws MEUProperties.NoSuchPropertyException, MEUProperties.InvalidIntPropertyException
property
- The name of the propertyNoSuchPropertyException
- There ain't no suchInvalidIntPropertyException
- The property value string isn't convertible to a base 10 integerpublic java.awt.Point cascade()
public QCPartnerFrame getQCDemo()
public void eventQCDemo(java.awt.event.ActionEvent evt)
evt
- The actionEvent triggering the bringup.public void setAllowedToExit(boolean tf)
tf
- true if closes may System.exit() if appropriate; false if not.public boolean isAllowedToExit()
setAllowedToExit(boolean)
public boolean closeRequested(MEUFrame f)
f
- Frame making requestpublic boolean requestShutdown(MEUFrame f)
f
- Frame making request.isAllowedToExit()
,
setAllowedToExit(boolean)
public static void main(java.lang.String[] argv)
argv
- The command line for the editor.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |