Class WTTextArea

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class WTTextArea extends TextArea
This class extends the java.awt.TextArea for the purpose of establishing the same minimum size accross all platforms. the java.awt.TextArea has a large default size on Windows, but a small default size on Unix, and that causes problems when designing a GUI. This class also defaults to SCROLLBARS_VERTICAL_ONLY as that is the Windchill standard.

Supported API: true.

Extendable: true.
See Also:
  • Constructor Details

    • WTTextArea

      public WTTextArea()
      Use this constructor to create an instance of the WTTextArea which will give you vertical scrollbars and a consistent size on all platforms.

      Supported API: true.
  • Method Details

    • getMinimumSize

      public Dimension getMinimumSize()
      This will set the min size of this panel

      Supported API: true.
      Overrides:
      getMinimumSize in class TextArea
    • getMinimumSize

      public Dimension getMinimumSize(int cols, int rows)
      This will get themin size of this panel

      Supported API: true.
      Overrides:
      getMinimumSize in class TextArea
    • getPreferredSize

      public Dimension getPreferredSize()
      This will set the pref size of this panel

      Supported API: true.
      Overrides:
      getPreferredSize in class TextArea
    • getPreferredSize

      public Dimension getPreferredSize(int cols, int rows)
      This will get the pref size of this panel

      Supported API: true.
      Overrides:
      getPreferredSize in class TextArea