|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractTool
org.jhotdraw.standard.CreationTool
org.jhotdraw.contrib.TextAreaTool
org.jhotdraw.contrib.html.HTMLTextAreaTool
HTMLTextAreaTool creates or edits HTMLTextAreaFigures.
Only diffreence with TextAreaFigure is that this allows to edit HTML code
using a more suitable font than the one defined by the figure.
Nested Class Summary |
Nested classes inherited from class org.jhotdraw.contrib.TextAreaTool |
TextAreaTool.UndoActivity |
Nested classes inherited from class org.jhotdraw.standard.AbstractTool |
AbstractTool.EventDispatcher |
Field Summary |
Fields inherited from class org.jhotdraw.contrib.TextAreaTool |
fEditedFigure, fTextField, fTypingTarget |
Constructor Summary | |
HTMLTextAreaTool(DrawingEditor newDrawingEditor,
Figure prototype)
Constructor for the TextAreaTool object |
Method Summary | |
protected java.awt.Font |
getFont(TextHolder figure)
Gets the font to be used for editing the figure. |
Methods inherited from class org.jhotdraw.contrib.TextAreaTool |
activate, beginEdit, createUndoActivity, deactivate, endEdit, getEditedFigure, getTypingTarget, isActivated, mouseDown, mouseDrag, mouseUp, setEditedFigure, setTypingTarget |
Methods inherited from class org.jhotdraw.standard.CreationTool |
createFigure, getAddedFigure, getAddedFigures, getCreatedFigure, getPrototypeFigure, setAddedFigure, setAddedFigures, setCreatedFigure, setPrototypeFigure |
Methods inherited from class org.jhotdraw.standard.AbstractTool |
addToolListener, checkUsable, createEventDispatcher, createViewChangeListener, drawing, editor, getActiveDrawing, getActiveView, getAnchorX, getAnchorY, getEventDispatcher, getUndoActivity, isActive, isEnabled, isUsable, keyDown, mouseMove, removeToolListener, setAnchorX, setAnchorY, setEditor, setEnabled, setUndoActivity, setUsable, setView, view, viewCreated, viewDestroying, viewSelectionChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTMLTextAreaTool(DrawingEditor newDrawingEditor, Figure prototype)
newDrawingEditor
- the managing drawing editorprototype
- the prototype for the figureMethod Detail |
protected java.awt.Font getFont(TextHolder figure)
getFont
in class TextAreaTool
figure
- the figure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |