Class VSCellData

java.lang.Object
com.iizix.prop.vs.VSCellData

public class VSCellData extends Object
VirtualSpace cell data used when setting an entire column in a table.
Author:
Christopher Mindus
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Data source object, for any purpose.
    boolean
    The enabled flag, initialized by default to true.
    boolean
    Read-only flag, initialized by default to false.
    boolean
    The visibility flag, initialized by default to true.
    The value, initialized by default to null.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    equals(VSCellData[] cells1, VSCellData[] cells2)
    Returns if two arrays of VirtualSpace cell data are equal.
    boolean
    Checks for two equal VSCellData's.
    int
    Gets the hash code of this instance, consistent with equals: the visible, enabled and read-only flags and the value (if any).

    Methods inherited from class Object

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

    • isVisible

      public boolean isVisible
      The visibility flag, initialized by default to true.
    • isEnabled

      public boolean isEnabled
      The enabled flag, initialized by default to true.
    • isReadOnly

      public boolean isReadOnly
      Read-only flag, initialized by default to false.
    • value

      public Value value
      The value, initialized by default to null.
    • data

      public Object data
      Data source object, for any purpose.
  • Constructor Details

    • VSCellData

      public VSCellData()
  • Method Details

    • equals

      public boolean equals(Object o)
      Checks for two equal VSCellData's.

      Comparison is done without verification of the data member.

      Overrides:
      equals in class Object
      Returns:
      The equality flag.
    • hashCode

      public int hashCode()
      Gets the hash code of this instance, consistent with equals: the visible, enabled and read-only flags and the value (if any). The data member is not included.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code.
    • equals

      public static boolean equals(VSCellData[] cells1, VSCellData[] cells2)
      Returns if two arrays of VirtualSpace cell data are equal.