LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.app.behaviorinterface
Interface LyShowUrlBehaviorInterface

All Superinterfaces:
LyActionBehaviorInterface, LyBehaviorInterface
All Known Implementing Classes:
LyShowUrlBehavior

public interface LyShowUrlBehaviorInterface
extends LyActionBehaviorInterface

This interface defines the methods to implement in order to modify the behavior of a text action.

See Also:
LyTextController

Field Summary
static java.lang.String __VERSION
          File version
 
Method Summary
 java.io.InputStream getFileInputStream(LyShowUrlController controller, java.lang.String fileName, LyEnvironment environment, boolean showError)
          Gets the Input Stream associated to the given file name.
 java.net.URL getFileUrl(LyShowUrlController controller, java.lang.String fileName, LyEnvironment environment, boolean showError)
          Gets the URL associated to the given file name.
 boolean openNewWindow(LyShowUrlController controller)
          Indicates whether the action should open a new window or not.
 
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

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

getFileInputStream

java.io.InputStream getFileInputStream(LyShowUrlController controller,
                                       java.lang.String fileName,
                                       LyEnvironment environment,
                                       boolean showError)
Gets the Input Stream associated to the given file name.

Parameters:
controller - the current editor controller
fileName - the file to read
environment - the current environment
showError - if true, show errors thrown to the user
Returns:
the input stream of the file if found, null otherwise

getFileUrl

java.net.URL getFileUrl(LyShowUrlController controller,
                        java.lang.String fileName,
                        LyEnvironment environment,
                        boolean showError)
Gets the URL associated to the given file name.

Parameters:
controller - the current editor controller
fileName - the file to read
environment - the current environment
showError - if true, show errors thrown to the user
Returns:
the URL of the file if found, null otherwise

openNewWindow

boolean openNewWindow(LyShowUrlController controller)
Indicates whether the action should open a new window or not.

Parameters:
controller - the current editor controller
Returns:
true if a new window should be opened, false otherwise

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com