Documentation of 'org.jhotdraw.draw.text.FloatingTextField' Java class
FloatingTextField
org.jhotdraw.draw.text

Class FloatingTextField

    • Constructor Detail

      • FloatingTextField

        public FloatingTextField()
    • Method Detail

      • requestFocus

        public void requestFocus()
      • createOverlay

        public void createOverlay(DrawingView view,
                                  TextHolderFigure figure)
        Creates the overlay for the given Container using a specific font.
      • getInsets

        public java.awt.Insets getInsets()
      • addActionListener

        public void addActionListener(java.awt.event.ActionListener listener)
        Adds an action listener
      • removeActionListener

        public void removeActionListener(java.awt.event.ActionListener listener)
        Remove an action listener
      • getText

        public java.lang.String getText()
        Gets the text contents of the overlay.
      • getPreferredSize

        public java.awt.Dimension getPreferredSize(int cols)
        Gets the preferred size of the overlay.
      • endOverlay

        public void endOverlay()
        Removes the overlay.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.