|
JHotDraw 7.5.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.odg.figures.ODGAttributedFigure
public abstract class ODGAttributedFigure
ODGAttributedFigure.
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.draw.AbstractFigure |
|---|
changingDepth, listenerList |
| Fields inherited from class org.jhotdraw.beans.AbstractBean |
|---|
propertySupport |
| Fields inherited from interface org.jhotdraw.draw.Figure |
|---|
CONNECTABLE_PROPERTY, REMOVABLE_PROPERTY, SELECTABLE_PROPERTY, TRANSFORMABLE_PROPERTY |
| Constructor Summary | |
|---|---|
ODGAttributedFigure()
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. |
|
|
set(AttributeKey<T> key,
T newValue)
Sets an attribute of the figure. |
|
| Methods inherited from class org.jhotdraw.draw.AbstractAttributedFigure |
|---|
applyAttributesTo, clone, drawFill, drawStroke, drawText, get, getAttributeKey, getAttributes, getAttributesRestoreData, getDrawingArea, getStroke, getStrokeMiterLimitFactor, hasAttribute, isAttributeEnabled, read, readAttributes, removeAttribute, restoreAttributesTo, setAttributeEnabled, setAttributes, write, 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.samples.odg.figures.ODGFigure |
|---|
isEmpty |
| Constructor Detail |
|---|
public ODGAttributedFigure()
| 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
|
Copyright 1996-2010 (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 | ||||||||