- All Superinterfaces:
Dimension
,HeightAccessor
,Position
,PosXAccessor
,PosYAccessor
,WidthAccessor
- All Known Subinterfaces:
Rectangle.RectangleProperty
- All Known Implementing Classes:
RectangleImpl
public interface Rectangle extends Dimension, Position
Provides an accessor for a rectangle property (dimension and height).
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Rectangle.RectangleBuilder<B extends Rectangle.RectangleBuilder<B>>
Provides a builder for a rectangle property (dimension and height).static interface
Rectangle.RectangleMutator
Provides a mutator for a rectangle property (dimension and height).static interface
Rectangle.RectangleProperty
Provides a property (getter / setter) for a rectangle property (dimension and height).Nested classes/interfaces inherited from interface org.refcodes.graphical.Dimension
Dimension.DimensionBuilder<B extends Dimension.DimensionBuilder<B>>, Dimension.DimensionMutator, Dimension.DimensionProperty
Nested classes/interfaces inherited from interface org.refcodes.graphical.HeightAccessor
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
Nested classes/interfaces inherited from interface org.refcodes.graphical.Position
Position.PositionBuilder<B extends Position.PositionBuilder<B>>, Position.PositionMutator, Position.PositionProperty
Nested classes/interfaces inherited from interface org.refcodes.graphical.PosXAccessor
PosXAccessor.PosXBuilder<B extends PosXAccessor.PosXBuilder<B>>, PosXAccessor.PosXMutator, PosXAccessor.PosXProperty
Nested classes/interfaces inherited from interface org.refcodes.graphical.PosYAccessor
PosYAccessor.PosYBuilder<B extends PosYAccessor.PosYBuilder<B>>, PosYAccessor.PosYMutator, PosYAccessor.PosYProperty
Nested classes/interfaces inherited from interface org.refcodes.graphical.WidthAccessor
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
-
Method Summary
Static Methods Modifier and Type Method Description static boolean
equals(Rectangle aRectangleA, Rectangle aRectangleB)
Equals.Methods inherited from interface org.refcodes.graphical.HeightAccessor
getHeight
Methods inherited from interface org.refcodes.graphical.PosXAccessor
getPositionX
Methods inherited from interface org.refcodes.graphical.PosYAccessor
getPositionY
Methods inherited from interface org.refcodes.graphical.WidthAccessor
getWidth
-
Method Details
-
equals
Equals.- Parameters:
aRectangleA
- the rectangle AaRectangleB
- the rectangle B- Returns:
- true, if successful
-