Class SecretNote

java.lang.Object
VASSAL.build.module.noteswindow.SecretNote

public class SecretNote extends Object
Represents a text note with an owner and hidden/revealed status. This is an immutable object
  • Constructor Details

  • Method Details

    • isHidden

      public boolean isHidden()
    • getName

      public String getName()
    • getOwner

      public String getOwner()
    • getDate

      public Date getDate()
    • getHandle

      public String getHandle()
    • equals

      public boolean equals(Object o)
      Two SecretNotes with the same owner and name are considered equal
      Overrides:
      equals in class Object
      Parameters:
      o -
      Returns:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getText

      public String getText()