|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextHolder
The interface of a figure that has some editable text contents.
Figure
Method Summary | |
---|---|
boolean |
acceptsTyping()
Tests whether the figure accepts typing. |
void |
connect(Figure connectedFigure)
Connects a figure to another figure. |
java.awt.Font |
getFont()
Gets the font. |
java.lang.String |
getText()
Gets the text shown by the text figure. |
int |
overlayColumns()
Gets the number of columns to be overlaid when the figure is edited. |
void |
setText(java.lang.String newText)
Sets the text shown by the text figure. |
java.awt.Rectangle |
textDisplayBox()
|
Method Detail |
---|
java.awt.Rectangle textDisplayBox()
java.lang.String getText()
void setText(java.lang.String newText)
boolean acceptsTyping()
int overlayColumns()
void connect(Figure connectedFigure)
java.awt.Font getFont()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |