|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 text holder to another figure. |
void |
disconnect(Figure disconnectFigure)
Disconnects a text holder from a connect figure. |
java.awt.Font |
getFont()
Gets the font. |
Figure |
getRepresentingFigure()
Usually, a TextHolders is implemented by a Figure subclass. |
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 |
public java.awt.Rectangle textDisplayBox()
public java.lang.String getText()
public void setText(java.lang.String newText)
public boolean acceptsTyping()
public int overlayColumns()
public void connect(Figure connectedFigure)
public void disconnect(Figure disconnectFigure)
public java.awt.Font getFont()
public Figure getRepresentingFigure()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |