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

Method Index

 o acceptsTyping()
Tests whether the figure accepts typing.
 o connect(Figure)
Connects a figure to another figure.
 o getFont()
Gets the font.
 o getText()
Gets the text shown by the text figure.
 o overlayColumns()
Gets the number of columns to be overlaid when the figure is edited.
 o setText(String)
Sets the text shown by the text figure.
 o textDisplayBox()

Methods

 o textDisplayBox
 public abstract Rectangle textDisplayBox()
 o getText
 public abstract String getText()
Gets the text shown by the text figure.

 o setText
 public abstract void setText(String newText)
Sets the text shown by the text figure.

 o acceptsTyping
 public abstract boolean acceptsTyping()
Tests whether the figure accepts typing.

 o overlayColumns
 public abstract int overlayColumns()
Gets the number of columns to be overlaid when the figure is edited.

 o connect
 public abstract void connect(Figure connectedFigure)
Connects a figure to another figure.

 o getFont
 public abstract Font getFont()
Gets the font.


All Packages  Class Hierarchy  This Package  Previous  Next  Index