Package overit.geocall.ux.platform
Class SimpleLanding
java.lang.Object
overit.geocall.ux.platform.SimpleLanding
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSimpleLanding(String name, String page) protectedSimpleLanding(SimpleLander lander, String name, String page) -
Method Summary
Modifier and TypeMethodDescriptionCreate a new clone instance of Landing and the parameter is set asparamsvalue of the copy instance.booleanstatic LandingSearch for the landing having the name passed as parameter.Get the definition of the Landing.returns the list of functions required to access the landing pageGet the instance of the Lander.Get the menu opening mode.getName()Get the unique name of the LandinggetPage()Get the path of the page to openGet the parameters of the LandingGet the string indicating the page's position inside the menu.Get the static parameters of the Landing.getWm()Get the name that will be assigned to the window manager on the page openinthashCode()booleanreturns a boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container.voidsetFunction(List<String> functions) Sets the list of functions required to access the landing pagevoidsetManaged(boolean managed) boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container.voidsetModeMenu(String modeMenu) Set the menu opening mode.voidSet the unique name of the LandingvoidvoidSet the parameters of the Landing passed in the URI after the landing name.voidsetPosMenu(String posMenu) voidsetStaticParams(String staticParams) Set the static parameters of the Landing defined inside the param attribute of the landing configuration.voidSet the name that will be assigned to the window manager on the page open
-
Field Details
-
name
-
wm
-
params
-
definition
-
staticParams
-
modeMenu
-
posMenu
-
page
-
managed
protected boolean managed -
lander
-
functions
-
-
Constructor Details
-
SimpleLanding
-
SimpleLanding
-
-
Method Details
-
get
Search for the landing having the name passed as parameter. If it is found, it will be returned. Otherwise return null.- Parameters:
identity- Identity to understand in which packages to search for the landing.landing- Name of the landing to search.- Returns:
- The landing if it is found. Otherwise return null.
-
getName
Description copied from interface:LandingGet the unique name of the Landing -
setName
Description copied from interface:LandingSet the unique name of the Landing -
getWm
Description copied from interface:LandingGet the name that will be assigned to the window manager on the page open- Specified by:
getWmin interfaceLanding- Returns:
- the name that will be assigned to the window manager on the page open.
if not specified, it will be considered the
Landing.getName()
-
setWm
Description copied from interface:LandingSet the name that will be assigned to the window manager on the page open -
getLander
Description copied from interface:LandingGet the instance of the Lander. -
getParams
Description copied from interface:LandingGet the parameters of the Landing -
setParams
Description copied from interface:LandingSet the parameters of the Landing passed in the URI after the landing name. -
getDefinition
Description copied from interface:LandingGet the definition of the Landing.- Specified by:
getDefinitionin interfaceLanding- Returns:
- The Getter containing all the attributes expressed in the XML.
-
getStaticParams
Description copied from interface:LandingGet the static parameters of the Landing.- Specified by:
getStaticParamsin interfaceLanding- Returns:
- the string defined inside the param attribute of the landing configuration
-
setStaticParams
Description copied from interface:LandingSet the static parameters of the Landing defined inside the param attribute of the landing configuration.- Specified by:
setStaticParamsin interfaceLanding- Parameters:
staticParams- the string defined inside the param attribute of the landing configuration
-
getModeMenu
Description copied from interface:LandingGet the menu opening mode.- Specified by:
getModeMenuin interfaceLanding- Returns:
- the menu opening mode. Possible values are:
- on: the menu is visible on the page open but it will be hidden on the mouse leave
- off: the menu is not visible on the page open but can be open on the mouse over
- lock: the menu is visible on the page open and it will not disappear on the mouse leave
- none: the menu is not been present on the page
-
setModeMenu
Description copied from interface:LandingSet the menu opening mode.- Specified by:
setModeMenuin interfaceLanding- Parameters:
modeMenu- Possible values are:- on: the menu is visible on the page open but it will be hidden on the mouse leave
- off: the menu is not visible on the page open but can be open on the mouse over
- lock: the menu is visible on the page open and it will not disappear on the mouse leave
- none: the menu is not been present on the page
-
getPosMenu
Description copied from interface:LandingGet the string indicating the page's position inside the menu.- Specified by:
getPosMenuin interfaceLanding- Returns:
- the page's position inside the menu
-
setPosMenu
- Specified by:
setPosMenuin interfaceLanding
-
getPage
Description copied from interface:LandingGet the path of the page to open -
setPage
-
isManaged
public boolean isManaged()Description copied from interface:Landingreturns a boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container. if the page is managed, it is not registered in the window manager and therefore will not be accessible from the views panel -
setManaged
public void setManaged(boolean managed) Description copied from interface:Landingboolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container. if the page is managed, it is not registered in the window manager and therefore will not be accessible from the views panel- Specified by:
setManagedin interfaceLanding- Parameters:
managed-trueif the page will be opened inside a geocall frame;falseif it is handled by an external container
-
setFunction
Description copied from interface:LandingSets the list of functions required to access the landing page- Specified by:
setFunctionin interfaceLanding- Parameters:
functions- the list of functions required to access the landing page
-
getFunctions
Description copied from interface:Landingreturns the list of functions required to access the landing page- Specified by:
getFunctionsin interfaceLanding- Returns:
- the list of functions required to access the landing page
-
equals
-
hashCode
public int hashCode() -
clone
Description copied from interface:LandingCreate a new clone instance of Landing and the parameter is set asparamsvalue of the copy instance.
-