Class LeafletPage

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") @Deprecated public final class LeafletPage extends GObject
Deprecated.
An auxiliary class used by Leaflet.
  • Constructor Details

    • LeafletPage

      public LeafletPage(MemorySegment address)
      Deprecated.
      Create a LeafletPage instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • LeafletPage

      public LeafletPage()
      Deprecated.
      Create a new LeafletPage.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Deprecated.
      Get the GType of the LeafletPage class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      Deprecated.
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected LeafletPage asParent()
      Deprecated.
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class GObject
      Returns:
      the instance as if it were its parent type
    • getChild

      @Deprecated public Widget getChild()
      Deprecated.
      Gets the leaflet child to which this LeafletPage belongs.
      Returns:
      the child to which this LeafletPage belongs
    • getName

      @Deprecated public @Nullable String getName()
      Deprecated.
      Gets the name of self.
      Returns:
      the name of self.
    • getNavigatable

      @Deprecated public boolean getNavigatable()
      Deprecated.
      Gets whether the child can be navigated to when folded.
      Returns:
      whether this LeafletPage can be navigated to when folded
    • setName

      @Deprecated public void setName(@Nullable String name)
      Deprecated.
      Sets the name of the self.
      Parameters:
      name - the new value to set
    • setNavigatable

      @Deprecated public void setNavigatable(boolean navigatable)
      Deprecated.

      Sets whether this LeafletPage can be navigated to when folded.

      If FALSE, the child will be ignored by Leaflet.getAdjacentChild(NavigationDirection), Leaflet.navigate(NavigationDirection), and swipe gestures.

      This can be used used to prevent switching to widgets like separators.

      Parameters:
      navigatable - whether this LeafletPage can be navigated to when folded
    • builder

      public static LeafletPage.Builder<? extends LeafletPage.Builder> builder()
      Deprecated.
      A LeafletPage.Builder object constructs a LeafletPage with the specified properties. Use the various set...() methods to set properties, and finish construction with LeafletPage.Builder.build().
      Returns:
      the builder object