Class NothingAction

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class NothingAction extends ShortcutAction
Does nothing.
  • Constructor Details

    • NothingAction

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

      public NothingAction()
      Create a new NothingAction.
  • Method Details

    • getType

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

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

      protected NothingAction asParent()
      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 ShortcutAction
      Returns:
      the instance as if it were its parent type
    • get

      public static NothingAction get()

      Gets the nothing action.

      This is an action that does nothing and where activating it always fails.

      Returns:
      The nothing action
    • builder

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