Enum Class CellRendererMode

java.lang.Object
java.lang.Enum<CellRendererMode>
org.gnome.gtk.CellRendererMode
All Implemented Interfaces:
Serializable, Comparable<CellRendererMode>, Constable, Enumeration

@Generated("org.javagi.JavaGI") @Deprecated public enum CellRendererMode extends Enum<CellRendererMode> implements Enumeration
Deprecated.
There is no replacement.
Identifies how the user can interact with a particular cell.
  • Enum Constant Details

    • INERT

      public static final CellRendererMode INERT
      Deprecated.
      The cell is just for display and cannot be interacted with. Note that this doesn’t mean that eg. the row being drawn can’t be selected -- just that a particular element of it cannot be individually modified.
    • ACTIVATABLE

      public static final CellRendererMode ACTIVATABLE
      Deprecated.
      The cell can be clicked.
    • EDITABLE

      public static final CellRendererMode EDITABLE
      Deprecated.
      The cell can be edited or otherwise modified.
  • Method Details

    • values

      public static CellRendererMode[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CellRendererMode valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static CellRendererMode of(int value)
      Deprecated.
      Create a new CellRendererMode for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Deprecated.
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static CellRendererMode of(MemorySegment address)
      Deprecated.
      Create a new CellRendererMode for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

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