JHotDraw 7.2

org.jhotdraw.samples.odg.figures
Interface ODGFigure

All Superinterfaces:
java.lang.Cloneable, DOMStorable, Figure, java.io.Serializable
All Known Implementing Classes:
ODGAttributedFigure, ODGEllipseFigure, ODGGroupFigure, ODGPathFigure, ODGRectFigure

public interface ODGFigure
extends Figure

ODGFigure.

Version:
1.0 April 12, 2007 Created.
Author:
Werner Randelshofer

Method Summary
 boolean isEmpty()
          Returns true, if this figure is empty for one of the following reasons: A group has no children A path has less than two points An ellipse or a rectangle has a width or a height of 0 A text has no characters
 
Methods inherited from interface org.jhotdraw.draw.Figure
addFigureListener, addNotify, canConnect, changed, clone, contains, createHandles, draw, findCompatibleConnector, findConnector, findFigureInside, getActions, getAttribute, getAttributes, getAttributesRestoreData, getBounds, getConnectors, getCursor, getDecomposition, getDrawingArea, getEndPoint, getLayer, getPreferredSize, getStartPoint, getTool, getToolTipText, getTransformRestoreData, handleDrop, handleMouseClick, includes, isRemovable, isSelectable, isTransformable, isVisible, remap, removeFigureListener, removeNotify, requestRemove, restoreAttributesTo, restoreTransformTo, setAttribute, setBounds, transform, willChange
 
Methods inherited from interface org.jhotdraw.xml.DOMStorable
read, write
 

Method Detail

isEmpty

boolean isEmpty()
Returns true, if this figure is empty for one of the following reasons:


Copyright 1996-2009 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.