Class Sign


  • public class Sign
    extends java.lang.Object
    class for a region sign based on our own representation in the CR.
    Author:
    Fiete
    See Also:
    Region.getSigns()
    • Constructor Summary

      Constructors 
      Constructor Description
      Sign()
      Create a new Sign object
      Sign​(java.lang.String text)
      Create a new Sign object initialized to the specified values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getText()  
      void setText​(java.lang.String text)  
      java.lang.String toString()
      Return a string representation of this Sign object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Sign

        public Sign()
        Create a new Sign object
      • Sign

        public Sign​(java.lang.String text)
        Create a new Sign object initialized to the specified values.
        Parameters:
        text - the text of the sign object
    • Method Detail

      • toString

        public java.lang.String toString()
        Return a string representation of this Sign object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        Sign object as string.
      • getText

        public java.lang.String getText()
        Returns:
        the text
      • setText

        public void setText​(java.lang.String text)
        Parameters:
        text - the text to set