Class TextInBox


  • public class TextInBox
    extends java.lang.Object
    Represents a text to be displayed in a box of a given size.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int height  
      java.lang.String text  
      int width  
    • Constructor Summary

      Constructors 
      Constructor Description
      TextInBox​(java.lang.String text, int width, int height)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • text

        public final java.lang.String text
      • height

        public final int height
      • width

        public final int width
    • Constructor Detail

      • TextInBox

        public TextInBox​(java.lang.String text,
                         int width,
                         int height)