Class Anchornav

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Component, Scope, ComponentCtrl

    public class Anchornav
    extends XulElement
    A anchornav component Anchornav synchronizes the scrolling position on a page or within ZK containers (Div, Window, etc.) with hyperlinks and buttons. It could navigate to desired ZK components in a page and highlight the current navigation link based on the current scroll position.
    Since:
    9.0.0
    Author:
    jameschu
    See Also:
    Serialized Form
    • Constructor Detail

      • Anchornav

        public Anchornav()
    • Method Detail

      • setName

        public void setName​(java.lang.String name)
        Sets the name.
        Parameters:
        name -
      • getName

        public java.lang.String getName()
        Returns the name.
      • isPositionFixed

        public boolean isPositionFixed()
        Returns whether it would be fixed position when out of current viewport.
      • setPositionFixed

        public void setPositionFixed​(boolean positionFixed)
        Set whether to enable position fix when out of current viewport.
        Parameters:
        positionFixed - enable or disable