|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.tif.jacob.entrypoint.EntryPointUrl
public class EntryPointUrl
The URL to a dedicated entry point to a jACOB application.
You can create a URL for a GUI base EntryPoint or to Cmd (command) base entry Point.
usage:
Properties props=new Properties();
props.setProperty("template",(String)name2templates.get(userSelection));
props.setProperty("pkey",call.getStringValue("pkey"));
EntryPointUrl.show(context,new MyGuiEntryPoint(),props);
| Field Summary | |
|---|---|
static de.tif.jacob.entrypoint.EntryPointUrl.EntryPointType |
ENTRYPOINT_CMD
|
static de.tif.jacob.entrypoint.EntryPointUrl.EntryPointType |
ENTRYPOINT_GUI
|
| Constructor Summary | |
|---|---|
EntryPointUrl(de.tif.jacob.entrypoint.EntryPointUrl.EntryPointType type,
java.lang.String entryName,
java.util.Properties props)
Deprecated. This method will be protected in the next release. Use the static methods 'popup(...)' and 'show(...)' to work with entry points. |
|
| Method Summary | |
|---|---|
static java.lang.String |
getUrl(SessionContext context,
ICmdEntryPoint entry,
java.util.Properties props,
boolean useVersion)
Constructs the entry point URL for a given command entry point. |
static java.lang.String |
getUrl(SessionContext context,
IGuiEntryPoint entry,
java.util.Properties props,
boolean useVersion)
Constructs the entry point URL for a given GUI entry point. |
void |
popup(IClientContext context)
Deprecated. use the static method 'popup(...)' |
static void |
popup(IClientContext context,
ICmdEntryPoint entry,
java.util.Properties props)
Show the hands over EntryPoint. |
static void |
popup(IClientContext context,
IGuiEntryPoint entry,
java.util.Properties props)
Show the hands over EntryPoint. |
static void |
popup(IClientContext context,
IGuiEntryPoint entry,
java.util.Properties props,
int height,
int width)
Show the hands over EntryPoint. |
void |
popup(IClientContext context,
int width,
int height)
Deprecated. use the static method popup |
void |
show(IClientContext context)
Deprecated. use the static method 'show(...)' |
java.lang.String |
toURL(SessionContext context)
Deprecated. This method will be protected in the next release. Use the static methods 'popup(...)' and 'show(...)' to handle entry points. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final de.tif.jacob.entrypoint.EntryPointUrl.EntryPointType ENTRYPOINT_GUI
public static final de.tif.jacob.entrypoint.EntryPointUrl.EntryPointType ENTRYPOINT_CMD
| Constructor Detail |
|---|
public EntryPointUrl(de.tif.jacob.entrypoint.EntryPointUrl.EntryPointType type,
java.lang.String entryName,
java.util.Properties props)
type - entryName - props - | Method Detail |
|---|
public static java.lang.String getUrl(SessionContext context,
ICmdEntryPoint entry,
java.util.Properties props,
boolean useVersion)
context - the current session contextentry - the desired command entry pointprops - the entry point propertiesuseVersion - if set to true the entry point will only succeed
for the current application version, otherwise the entry point
will enter the most resent version of the application.
public static java.lang.String getUrl(SessionContext context,
IGuiEntryPoint entry,
java.util.Properties props,
boolean useVersion)
context - the current session contextentry - the desired GUI entry pointprops - the entry point propertiesuseVersion - if set to true the entry point will only succeed
for the current application version, otherwise the entry point
will enter the most resent version of the application.
public static void popup(IClientContext context,
ICmdEntryPoint entry,
java.util.Properties props)
Properties props=new Properties();
props.setProperty("template",(String)name2templates.get(userSelection));
props.setProperty("pkey",call.getStringValue("pkey"));
EntryPointUrl.popup(context,new MyCmdEntryPoint(),props);
context - entry - props -
public static void popup(IClientContext context,
IGuiEntryPoint entry,
java.util.Properties props,
int height,
int width)
Properties props=new Properties();
props.setProperty("template",(String)name2templates.get(userSelection));
props.setProperty("pkey",call.getStringValue("pkey"));
EntryPointUrl.show(context,new MyGuiEntryPoint(),props, 300,400);
context - the curent working contextentry - an instance of the GuiEntryPointprops - any properties which will be hands over to the entry point.width - the width of the new screenheight - the height of the new screen
public static void popup(IClientContext context,
IGuiEntryPoint entry,
java.util.Properties props)
Properties props=new Properties();
props.setProperty("template",(String)name2templates.get(userSelection));
props.setProperty("pkey",call.getStringValue("pkey"));
EntryPointUrl.show(context,new MyGuiEntryPoint(),props);
context - the current working contextentry - an instance of the GuiEntryPointprops - any properties which will be hands over to the entry point.
public void popup(IClientContext context,
int width,
int height)
context - the current working contextwidth - the width of the new screenheight - the height of the new screenpublic void popup(IClientContext context)
context - public void show(IClientContext context)
context - public java.lang.String toURL(SessionContext context)
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||