Class SimpleLandingTree

java.lang.Object
overit.geocall.ux.platform.SimpleLandingTree
All Implemented Interfaces:
LandingTree

public class SimpleLandingTree extends Object implements LandingTree
Deprecated.
Use 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


 {@literal @}Geocall.Provider
 public class BasLeandingTree extends SimpleLandingTree {
      public BasLeandingTree() {
          super(new Lander(), "+/menu.xml");
      }
 }
 

In order for the pages to be published at the start of the count, you must add the @Geocall.Provider annotation to the sub-class

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected SimpleLander
    Deprecated.
     
    protected boolean
    Deprecated.
    boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container.
    protected String
    Deprecated.
    mode of the menu.
    protected String
    Deprecated.
     
    protected String
    Deprecated.
    the name that will be assigned to the window manager. if not specified, it will be considered the SimpleLanding.getName()
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Deprecated.
     
    protected
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final Landing
    Deprecated.
    Returns the list of the landings extracted from the menu file
    static Landing
    Deprecated.
    Return the landing instance related to the landing name.
    static Landing
    Deprecated.
    Return the landing instance related to the page's path
    Deprecated.
    Get the menu opening mode.
    Deprecated.
    Get the name that will be assigned to the window manager on the page open
    boolean
    Deprecated.
    returns a boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container.
    void
    setManaged(boolean managed)
    Deprecated.
    boolean flag that indicates if the page will be opened inside a geocall frame or is handled by an external container.
    void
    setModeMenu(String modeMenu)
    Deprecated.
    Set the menu opening mode.
    void
    Deprecated.
    Set the name that will be assigned to the window manager on the page open

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • lander

      protected SimpleLander lander
      Deprecated.
    • path

      protected String path
      Deprecated.
    • wm

      protected String wm
      Deprecated.
      the name that will be assigned to the window manager. if not specified, it will be considered the SimpleLanding.getName()
    • modeMenu

      protected String 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 managed
      Deprecated.
      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

      protected SimpleLandingTree(SimpleLander lander, String path)
      Deprecated.
      Parameters:
      lander - instance of the Lander to use to build the land.
      path - the path of the resource
    • SimpleLandingTree

      protected SimpleLandingTree(String path)
      Deprecated.
      Parameters:
      path - the path of the resource
  • Method Details

    • getLandingFromPath

      public static Landing getLandingFromPath(String path)
      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

      public static Landing getLandingFromName(String name)
      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

      public final Landing getLanding(String name)
      Deprecated.
      Description copied from interface: LandingTree
      Returns the list of the landings extracted from the menu file
      Specified by:
      getLanding in interface LandingTree
      Parameters:
      name - Name
      Returns:
      the list of the landings extracted from the menu file
    • getWm

      public String getWm()
      Deprecated.
      Description copied from interface: LandingTree
      Get the name that will be assigned to the window manager on the page open
      Specified by:
      getWm in interface LandingTree
      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

      public void setWm(String wm)
      Deprecated.
      Description copied from interface: LandingTree
      Set the name that will be assigned to the window manager on the page open
      Specified by:
      setWm in interface LandingTree
      Parameters:
      wm - the name that will be assigned to the window manager on the page open
    • getModeMenu

      public String getModeMenu()
      Deprecated.
      Description copied from interface: LandingTree
      Get the menu opening mode.
      Specified by:
      getModeMenu in interface LandingTree
      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

      public void setModeMenu(String modeMenu)
      Deprecated.
      Description copied from interface: LandingTree
      Set the menu opening mode.
      Specified by:
      setModeMenu in interface LandingTree
      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: LandingTree
      returns 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:
      isManaged in interface LandingTree
      Returns:
      true if the page will be opened inside a geocall frame; false if it is handled by an external container
    • setManaged

      public void setManaged(boolean managed)
      Deprecated.
      Description copied from interface: LandingTree
      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:
      setManaged in interface LandingTree
      Parameters:
      managed - true if the page will be opened inside a geocall frame; false if it is handled by an external container