|
||||||||||
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 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 |
---|
java.awt.Rectangle textDisplayBox()
java.lang.String getText()
void setText(java.lang.String newText)
boolean acceptsTyping()
int overlayColumns()
void connect(Figure connectedFigure)
void disconnect(Figure disconnectFigure)
java.awt.Font getFont()
Figure getRepresentingFigure()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |