Documentation of 'org.jhotdraw.draw.TextHolderFigure' Java class
TextHolderFigure
org.jhotdraw.draw

Interface TextHolderFigure

    • Method Detail

      • isEditable

        boolean isEditable()
        Returns true if the text of the TextHolderFigure can be edited.
      • getFont

        java.awt.Font getFont()
        Returns the font to be used by a text editor for editing this Figure.
      • getTextColor

        java.awt.Color getTextColor()
        Returns the text color to be used by a text editor for editing this Figure.
      • getFillColor

        java.awt.Color getFillColor()
        Returns the fill color to be used by a text editor for editing this Figure.
      • getLabelFor

        TextHolderFigure getLabelFor()
        Sometimes we want to use a TextHolderFigure as a label for another TextHolderFigure. Returns the TextHolderFigure that should be really used.
      • getTabSize

        int getTabSize()
        Gets the number of characters used to expand tabs.
      • getText

        java.lang.String getText()
        Returns the text held by the Text Holder.
      • setText

        void setText(java.lang.String text)
        Sets the text of the Text Holder.
        Parameters:
        text -
      • getTextColumns

        int getTextColumns()
        Gets the number of columns to be overlaid when the figure is edited.
      • setFontSize

        void setFontSize(float size)
        Sets the font size of the text held by the TextHolderFigure.
      • getFontSize

        float getFontSize()
        Gets the font size of the text held by the TextHolderFigure.
      • getBaseline

        double getBaseline()
        Gets the baseline of the first line of text, relative to the upper left corner of the figure bounds.
      • getInsets

        Insets2D.Double getInsets()
        Returns Insets to be used by the text editor relative to the handle bounds of the figure.
      • isTextOverflow

        boolean isTextOverflow()
        Returns true, if the text does not fit into the bounds of the Figure.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.