Package overit.geocall.ux.platform
Class SimpleLandingTree
java.lang.Object
overit.geocall.ux.platform.SimpleLandingTree
- All Implemented Interfaces:
LandingTree
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SimpleLanderDeprecated.protected booleanDeprecated.boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container.protected StringDeprecated.mode of the menu.protected StringDeprecated.protected StringDeprecated.the name that will be assigned to the window manager. if not specified, it will be considered theSimpleLanding.getName() -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSimpleLandingTree(String path) Deprecated.protectedSimpleLandingTree(SimpleLander lander, String path) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionfinal LandinggetLanding(String name) Deprecated.Returns the list of the landings extracted from the menu filestatic LandinggetLandingFromName(String name) Deprecated.Return the landing instance related to the landing name.static LandinggetLandingFromPath(String path) Deprecated.Return the landing instance related to the page's pathDeprecated.Get the menu opening mode.getWm()Deprecated.Get the name that will be assigned to the window manager on the page openbooleanDeprecated.returns a boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container.voidsetManaged(boolean managed) Deprecated.boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container.voidsetModeMenu(String modeMenu) Deprecated.Set the menu opening mode.voidDeprecated.Set the name that will be assigned to the window manager on the page open
-
Field Details
-
lander
Deprecated. -
path
Deprecated. -
wm
Deprecated.the name that will be assigned to the window manager. if not specified, it will be considered theSimpleLanding.getName() -
modeMenu
Deprecated.mode of the menu. 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
-
managed
protected boolean managedDeprecated.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
-
-
Constructor Details
-
SimpleLandingTree
Deprecated.- Parameters:
lander- instance of the Lander to use to build the land.path- the path of the resource
-
SimpleLandingTree
Deprecated.- Parameters:
path- the path of the resource
-
-
Method Details
-
getLandingFromPath
Deprecated.Return the landing instance related to the page's path- Parameters:
path- the path of the page- Returns:
- the landing instance related to the page's path or null if there's no registered landing for that path
-
getLandingFromName
Deprecated.Return the landing instance related to the landing name.- Parameters:
name- name defined into the landingName attribute.- Returns:
- the landing instance related to the name of the page or null if there's no registered landing for that name.
-
getLanding
Deprecated.Description copied from interface:LandingTreeReturns the list of the landings extracted from the menu file- Specified by:
getLandingin interfaceLandingTree- Parameters:
name- Name- Returns:
- the list of the landings extracted from the menu file
-
getWm
Deprecated.Description copied from interface:LandingTreeGet the name that will be assigned to the window manager on the page open- Specified by:
getWmin interfaceLandingTree- 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
Deprecated.Description copied from interface:LandingTreeSet the name that will be assigned to the window manager on the page open- Specified by:
setWmin interfaceLandingTree- Parameters:
wm- the name that will be assigned to the window manager on the page open
-
getModeMenu
Deprecated.Description copied from interface:LandingTreeGet the menu opening mode.- Specified by:
getModeMenuin interfaceLandingTree- 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
Deprecated.Description copied from interface:LandingTreeSet the menu opening mode.- Specified by:
setModeMenuin interfaceLandingTree- 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
-
isManaged
public boolean isManaged()Deprecated.Description copied from interface:LandingTreereturns 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- Specified by:
isManagedin interfaceLandingTree- Returns:
trueif the page will be opened inside a geocall frame;falseif it is handled by an external container
-
setManaged
public void setManaged(boolean managed) Deprecated.Description copied from interface:LandingTreeboolean 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 interfaceLandingTree- Parameters:
managed-trueif the page will be opened inside a geocall frame;falseif it is handled by an external container
-
MenuLandingTree.This class allows you to define landing pages for each xml leaf entry. Use involves creating a subclass that has a public constructor without parameters, and defines the Lander, the menu path and any other configurations for the landing.
Here is an example that expose the menu's landing pages
In order for the pages to be published at the start of the count, you must add the
@Geocall.Providerannotation to the sub-class