|
JHotDraw 7.3.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.beans.AbstractBean
org.jhotdraw.draw.AbstractFigure
org.jhotdraw.draw.AbstractAttributedFigure
org.jhotdraw.samples.svg.figures.SVGAttributedFigure
public abstract class SVGAttributedFigure
SVGAttributedFigure.
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.draw.AbstractFigure |
|---|
changingDepth, listenerList |
| Fields inherited from class org.jhotdraw.beans.AbstractBean |
|---|
propertySupport |
| Constructor Summary | |
|---|---|
SVGAttributedFigure()
Creates a new instance. |
|
| Method Summary | ||
|---|---|---|
void |
draw(java.awt.Graphics2D g)
Draws the figure. |
|
void |
drawFigure(java.awt.Graphics2D g)
This method is invoked before the rendered image of the figure is composited. |
|
java.util.Collection<javax.swing.Action> |
getActions(java.awt.geom.Point2D.Double p)
Returns a collection of actions which are presented to the user in a popup menu. |
|
void |
read(DOMInput in)
|
|
|
set(AttributeKey<T> key,
T newValue)
Sets an attribute of the figure. |
|
void |
write(DOMOutput out)
|
|
| Methods inherited from class org.jhotdraw.draw.AbstractAttributedFigure |
|---|
applyAttributesTo, clone, drawFill, drawStroke, drawText, get, getAttributeKey, getAttributes, getAttributesRestoreData, getDrawingArea, getStroke, getStrokeMiterLimitFactor, hasAttribute, isAttributeEnabled, readAttributes, removeAttribute, restoreAttributesTo, setAttributeEnabled, setAttributes, writeAttributes |
| Methods inherited from class org.jhotdraw.beans.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jhotdraw.draw.Figure |
|---|
contains, getBounds, getTransformRestoreData, restoreTransformTo, transform |
| Constructor Detail |
|---|
public SVGAttributedFigure()
| Method Detail |
|---|
public void draw(java.awt.Graphics2D g)
Figure
draw in interface Figuredraw in class AbstractAttributedFigureg - The Graphics2D to draw to.public void drawFigure(java.awt.Graphics2D g)
public <T> void set(AttributeKey<T> key,
T newValue)
AbstractAttributedFigure
set in interface Figureset in class AbstractAttributedFigureAttributeKey.set(org.jhotdraw.draw.Figure, T)public java.util.Collection<javax.swing.Action> getActions(java.awt.geom.Point2D.Double p)
AbstractFigureThe collection may contain null entries. These entries are used interpreted as separators in the popup menu.
getActions in interface FiguregetActions in class AbstractFigure
public final void write(DOMOutput out)
throws java.io.IOException
write in interface DOMStorablewrite in class AbstractAttributedFigurejava.io.IOException
public final void read(DOMInput in)
throws java.io.IOException
read in interface DOMStorableread in class AbstractAttributedFigurejava.io.IOException
|
Copyright 1996-2009 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||