org.eclipse.draw2d
Class IFigure.NoInsets

java.lang.Object
  extended byorg.eclipse.draw2d.geometry.Insets
      extended byorg.eclipse.draw2d.IFigure.NoInsets
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Enclosing class:
IFigure

public static class IFigure.NoInsets
extends Insets

Insets that are all 0. Always returns true for isEmpty().

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.draw2d.geometry.Insets
bottom, left, right, top
 
Method Summary
 boolean isEmpty()
          Returns true if all values are 0.
 
Methods inherited from class org.eclipse.draw2d.geometry.Insets
add, equals, getAdded, getHeight, getTransposed, getWidth, hashCode, toString, transpose
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

isEmpty

public boolean isEmpty()
Description copied from class: Insets
Returns true if all values are 0.

Overrides:
isEmpty in class Insets
Returns:
true if all values are 0