All Packages Class Hierarchy This Package Previous Next Index
Interface CH.ifa.draw.standard.TextHolder
- public interface interface TextHolder
The interface of a figure that has some editable text contents.
- See Also:
- Figure
-
acceptsTyping()
- Tests whether the figure accepts typing.
-
connect(Figure)
- Connects a figure to another figure.
-
getFont()
- Gets the font.
-
getText()
- Gets the text shown by the text figure.
-
overlayColumns()
- Gets the number of columns to be overlaid when the figure is edited.
-
setText(String)
- Sets the text shown by the text figure.
-
textDisplayBox()
-
textDisplayBox
public abstract Rectangle textDisplayBox()
getText
public abstract String getText()
- Gets the text shown by the text figure.
setText
public abstract void setText(String newText)
- Sets the text shown by the text figure.
acceptsTyping
public abstract boolean acceptsTyping()
- Tests whether the figure accepts typing.
overlayColumns
public abstract int overlayColumns()
- Gets the number of columns to be overlaid when the figure is edited.
connect
public abstract void connect(Figure connectedFigure)
- Connects a figure to another figure.
getFont
public abstract Font getFont()
- Gets the font.
All Packages Class Hierarchy This Package Previous Next Index