|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.draw.AbstractFigure
@Deprecated public abstract class AbstractFigure
An abstract implementation the Figure interface.
| Field Summary |
|---|
| Fields inherited from interface org.esa.beam.framework.draw.Figure |
|---|
FILL_COMPOSITE_KEY, FILL_PAINT_KEY, FILL_STROKE_KEY, FILLED_KEY, OUTL_COLOR_KEY, OUTL_COMPOSITE_KEY, OUTL_STROKE_KEY, OUTLINED_KEY, TOOL_INPUT_EVENT_KEY |
| Constructor Summary | |
|---|---|
protected |
AbstractFigure(Map<String,Object> attributes)
Deprecated. Constructs an abstract figure. |
| Method Summary | |
|---|---|
void |
addFigureChangeListener(FigureChangeListener listener)
Deprecated. Adds a listener for this figure. |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Deprecated. |
AbstractFigure |
clone()
Deprecated. Returns a clone of this figure |
FigureHandle[] |
createHandles()
Deprecated. Returns the handles used to manipulate the figure. |
Figure[] |
decompose()
Deprecated. Decomposes a figure into its parts. |
void |
dispose()
Deprecated. Releases a figure's resources. |
Figure |
findFigureInside(double x,
double y)
Deprecated. Returns the figure that contains the given point. |
Object |
getAttribute(String name)
Deprecated. Returns the named attribute or null if a a figure doesn't have an attribute. |
Map<String,Object> |
getAttributes()
Deprecated. Returns the attributes of this figure as a Map. |
Figure[] |
getFigures()
Deprecated. Returns an Enumeration of the figures contained in this figure |
int |
getZValue()
Deprecated. Gets the z value (back-to-front ordering) of this figure. |
boolean |
includes(Figure figure)
Deprecated. Checks whether the given figure is contained in this figure. |
void |
removeFigureChangeListener(FigureChangeListener listener)
Deprecated. Removes a listener for this figure. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Deprecated. |
void |
setAttribute(String name,
Object value)
Deprecated. Sets the named attribute to the new value |
void |
setAttributes(Map<String,Object> attributes)
Deprecated. Sets multiple attributes |
void |
setZValue(int zValue)
Deprecated. Sets the z value (back-to-front ordering) of this figure. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.esa.beam.framework.draw.Figure |
|---|
containsPoint, getAsArea, getBounds, getCenterPoint, getShape, isOneDimensional |
| Methods inherited from interface org.esa.beam.framework.draw.Drawable |
|---|
draw |
| Constructor Detail |
|---|
protected AbstractFigure(Map<String,Object> attributes)
attributes - the default attributes for the new figure, can be null| Method Detail |
|---|
public FigureHandle[] createHandles()
createHandles is a Factory Method for creating
handle objects.
createHandles in interface FigureFigureHandleFigureHandlepublic Figure[] getFigures()
getFigures in interface Figure
public Figure findFigureInside(double x,
double y)
findFigureInside in interface Figurepublic boolean includes(Figure figure)
includes in interface Figurepublic Figure[] decompose()
decompose in interface Figurepublic void dispose()
dispose in interface Figurepublic int getZValue()
getZValue in interface Figurepublic void setZValue(int zValue)
setZValue in interface Figurepublic Map<String,Object> getAttributes()
Map.
getAttributes in interface Figurepublic Object getAttribute(String name)
getAttribute in interface Figure
public void setAttribute(String name,
Object value)
setAttribute in interface Figurepublic void setAttributes(Map<String,Object> attributes)
setAttributes in interface Figurepublic void addFigureChangeListener(FigureChangeListener listener)
addFigureChangeListener in interface Figurelistener - the listener to be addedpublic void removeFigureChangeListener(FigureChangeListener listener)
removeFigureChangeListener in interface Figurelistener - the listener to be removedpublic AbstractFigure clone()
clone in interface Figureclone in class Objectpublic void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||