Uses of Interface
org.refcodes.graphical.Position
-
Uses of Position in org.refcodes.graphical
Subinterfaces of Position in org.refcodes.graphicalModifier and TypeInterfaceDescriptionstatic interface
The Interface PositionProperty.interface
Provides an accessor for a rectangle property (dimension and height).static interface
Provides a property (getter / setter) for a rectangle property (dimension and height).Classes in org.refcodes.graphical that implement PositionModifier and TypeClassDescriptionclass
The Class PositionImpl.class
The Class PositionPropertyBuilder.class
The classRectangleImpl
implements theRectangle
interface.Methods in org.refcodes.graphical that return PositionModifier and TypeMethodDescriptiondefault Position
GridOffset.GridOffsetProperty.letGridOffset
(Position aPosition) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenPosition
(setter) as ofGridOffset.GridOffsetMutator.setGridOffset(Position)
and returns the very same value (getter).default Position
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenPosition
(setter) as ofOffset.OffsetMutator.setOffset(Position)
and returns the very same value (getter).default Position
Position.PositionProperty.letPosition
(int aPosX, int aPosY) This method stores and passes through the given arguments, which is very useful for builder APIs: Sets the givenDimension
(setter) as ofPosition.PositionMutator.setPosition(int, int)
and returns the very same values encapsulated asPosition
instance.default Position
Position.PositionProperty.letPosition
(Position aPosition) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenPosition
(setter) as ofPosition.PositionMutator.setPosition(Position)
and returns the very same value (getter).default Position
default Position
Methods in org.refcodes.graphical with parameters of type PositionModifier and TypeMethodDescriptiondefault void
static boolean
Equals.default boolean
GridDimension.isInBounds
(Position aPosition) Tests whether the given position is inside of the bounds of the grid.default Position
GridOffset.GridOffsetProperty.letGridOffset
(Position aPosition) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenPosition
(setter) as ofGridOffset.GridOffsetMutator.setGridOffset(Position)
and returns the very same value (getter).default Position
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenPosition
(setter) as ofOffset.OffsetMutator.setOffset(Position)
and returns the very same value (getter).default Position
Position.PositionProperty.letPosition
(Position aPosition) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenPosition
(setter) as ofPosition.PositionMutator.setPosition(Position)
and returns the very same value (getter).void
GridOffset.GridOffsetMutator.setGridOffset
(Position aOffset) Sets the grid offset.void
Sets the offset.void
Position.PositionMutator.setPosition
(Position aPosition) Sets the position.void
PositionPropertyBuilder.setPosition
(Position aPosition) Sets the position.void
ViewportOffset.ViewportOffsetMutator.setViewportOffset
(Position aOffset) Sets the viewport offset.default void
default Position
default Position
GridOffset.GridOffsetBuilder.withGridOffset
(Position aOffset) With grid offset.Offset.OffsetBuilder.withOffset
(Position aOffset) With offset.Position.PositionBuilder.withPosition
(Position aPosition) With position.PositionPropertyBuilder.withPosition
(Position aPosition) With position.ViewportOffset.ViewportOffsetBuilder.withViewportOffset
(Position aOffset) With viewport offset.Constructors in org.refcodes.graphical with parameters of type PositionModifierConstructorDescriptionRectangleImpl
(Position aPosition, Dimension aDimension) Constructs aRectangle
with the given metrics.