|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.app.behavior.LyBehavior
leon.app.behavior.LyActionBehavior
leon.app.behavior.LyShowUrlBehavior
public class LyShowUrlBehavior
This class implements the default behavior for action that is controlled by an show url controller.
LyShowUrlController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyShowUrlBehavior()
Construct a show url behavior. |
Method Summary | |
---|---|
java.io.InputStream |
getFileInputStream(LyShowUrlController controller,
java.lang.String urlName,
LyEnvironment environment,
boolean showError)
Get the inputstream from the given parameters |
java.net.URL |
getFileUrl(LyShowUrlController controller,
java.lang.String fileName,
LyEnvironment environment,
boolean showError)
Gets the URL from the file name. |
java.lang.String |
getUrl(LyShowUrlController controller)
Get the url from the controller |
boolean |
openNewWindow(LyShowUrlController controller)
Indicates if the Url must be shown in a new window |
Methods inherited from class leon.app.behavior.LyActionBehavior |
---|
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction |
Methods inherited from class leon.app.behavior.LyBehavior |
---|
free, getSession, handleDemand, init |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface |
---|
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction |
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface |
---|
free, handleDemand, init |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyShowUrlBehavior()
Method Detail |
---|
public java.io.InputStream getFileInputStream(LyShowUrlController controller, java.lang.String urlName, LyEnvironment environment, boolean showError)
getFileInputStream
in interface LyShowUrlBehaviorInterface
controller
- the show url controllerurlName
- the url nameenvironment
- the current environmentshowError
- indicates if an error must be raise if needed
public java.net.URL getFileUrl(LyShowUrlController controller, java.lang.String fileName, LyEnvironment environment, boolean showError)
LyString.getXmlString(String, boolean, boolean)
.
getFileUrl
in interface LyShowUrlBehaviorInterface
controller
- the controllerfileName
- the file whose URL is requiredenvironment
- the current environmentshowError
- indicates if an error message has to be shown to the user.
public java.lang.String getUrl(LyShowUrlController controller)
controller
- the controller
public boolean openNewWindow(LyShowUrlController controller)
openNewWindow
in interface LyShowUrlBehaviorInterface
controller
- the controller
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |