Package org.refcodes.graphical
Class ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl
- java.lang.Object
-
- org.refcodes.graphical.ViewportDimensionImpl
-
- org.refcodes.graphical.ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl
-
- All Implemented Interfaces:
ViewportDimension
,ViewportDimension.ViewportDimensionBuilder<ViewportDimension.ViewportDimensionPropertyBuilderBuilder>
,ViewportDimension.ViewportDimensionMutator
,ViewportDimension.ViewportDimensionProperty
,ViewportDimension.ViewportDimensionPropertyBuilderBuilder
,ViewportHeightAccessor
,ViewportHeightAccessor.ViewportHeightBuilder<ViewportDimension.ViewportDimensionPropertyBuilderBuilder>
,ViewportHeightAccessor.ViewportHeightMutator
,ViewportHeightAccessor.ViewportHeightProperty
,ViewportWidthAccessor
,ViewportWidthAccessor.ViewportWidthBuilder<ViewportDimension.ViewportDimensionPropertyBuilderBuilder>
,ViewportWidthAccessor.ViewportWidthMutator
,ViewportWidthAccessor.ViewportWidthProperty
- Enclosing class:
- ViewportDimensionImpl
public static class ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl extends ViewportDimensionImpl implements ViewportDimension.ViewportDimensionPropertyBuilderBuilder
The Class ViewportDimensionPropertyBuilderImpl.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportDimension
ViewportDimension.ViewportDimensionBuilder<B extends ViewportDimension.ViewportDimensionBuilder<B>>, ViewportDimension.ViewportDimensionMutator, ViewportDimension.ViewportDimensionProperty, ViewportDimension.ViewportDimensionPropertyBuilderBuilder
-
Nested classes/interfaces inherited from class org.refcodes.graphical.ViewportDimensionImpl
ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportHeightAccessor
ViewportHeightAccessor.ViewportHeightBuilder<B extends ViewportHeightAccessor.ViewportHeightBuilder<B>>, ViewportHeightAccessor.ViewportHeightMutator, ViewportHeightAccessor.ViewportHeightProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.ViewportWidthAccessor
ViewportWidthAccessor.ViewportWidthBuilder<B extends ViewportWidthAccessor.ViewportWidthBuilder<B>>, ViewportWidthAccessor.ViewportWidthMutator, ViewportWidthAccessor.ViewportWidthProperty
-
-
Field Summary
-
Fields inherited from class org.refcodes.graphical.ViewportDimensionImpl
_height, _width
-
-
Constructor Summary
Constructors Constructor Description ViewportDimensionPropertyBuilderImpl()
Instantiates a new viewport dimension property builder impl.ViewportDimensionPropertyBuilderImpl(int aWidth, int aHeight)
Instantiates a new viewport dimension property builder impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setViewportDimension(int aWidth, int aHeight)
Sets the viewport dimension.void
setViewportDimension(Dimension aDimension)
Sets the viewport dimension.void
setViewportDimension(ViewportDimension aDimension)
Sets the viewport dimension.void
setViewportHeight(int aHeight)
Sets the viewport height for the viewport height property.void
setViewportWidth(int aWidth)
Sets the viewport width for the viewport width property.ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl
withViewportDimension(int aWidth, int aHeight)
With viewport dimension.ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl
withViewportDimension(Dimension aDimension)
With viewport dimension.ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl
withViewportDimension(ViewportDimension aDimension)
With viewport dimension.ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl
withViewportHeight(int aHeight)
Sets the viewport height for the viewport height property.ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl
withViewportWidth(int aWidth)
Sets the viewport width for the viewport width property.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.refcodes.graphical.ViewportDimension
-
Methods inherited from class org.refcodes.graphical.ViewportDimensionImpl
getViewportHeight, getViewportWidth, toString
-
Methods inherited from interface org.refcodes.graphical.ViewportHeightAccessor
getViewportHeight
-
Methods inherited from interface org.refcodes.graphical.ViewportWidthAccessor
getViewportWidth
-
-
-
-
Constructor Detail
-
ViewportDimensionPropertyBuilderImpl
public ViewportDimensionPropertyBuilderImpl()
Instantiates a new viewport dimension property builder impl.
-
ViewportDimensionPropertyBuilderImpl
public ViewportDimensionPropertyBuilderImpl(int aWidth, int aHeight)
Instantiates a new viewport dimension property builder impl.- Parameters:
aWidth
- the widthaHeight
- the height
-
-
Method Detail
-
setViewportWidth
public void setViewportWidth(int aWidth)
Sets the viewport width for the viewport width property.- Specified by:
setViewportWidth
in interfaceViewportWidthAccessor.ViewportWidthMutator
- Parameters:
aWidth
- The viewport width to be stored by the viewport width property.
-
withViewportWidth
public ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl withViewportWidth(int aWidth)
Sets the viewport width for the viewport width property.- Specified by:
withViewportWidth
in interfaceViewportWidthAccessor.ViewportWidthBuilder<ViewportDimension.ViewportDimensionPropertyBuilderBuilder>
- Parameters:
aWidth
- The viewport width to be stored by the viewport width property.- Returns:
- The builder for applying multiple build operations.
-
setViewportHeight
public void setViewportHeight(int aHeight)
Sets the viewport height for the viewport height property.- Specified by:
setViewportHeight
in interfaceViewportHeightAccessor.ViewportHeightMutator
- Parameters:
aHeight
- The viewport height to be stored by the viewport height property.
-
withViewportHeight
public ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl withViewportHeight(int aHeight)
Sets the viewport height for the viewport height property.- Specified by:
withViewportHeight
in interfaceViewportHeightAccessor.ViewportHeightBuilder<ViewportDimension.ViewportDimensionPropertyBuilderBuilder>
- Parameters:
aHeight
- The viewport height to be stored by the viewport height property.- Returns:
- The builder for applying multiple build operations.
-
withViewportDimension
public ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl withViewportDimension(int aWidth, int aHeight)
With viewport dimension.- Specified by:
withViewportDimension
in interfaceViewportDimension.ViewportDimensionBuilder<ViewportDimension.ViewportDimensionPropertyBuilderBuilder>
- Parameters:
aWidth
- the widthaHeight
- the height- Returns:
- the b
-
withViewportDimension
public ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl withViewportDimension(ViewportDimension aDimension)
With viewport dimension.- Specified by:
withViewportDimension
in interfaceViewportDimension.ViewportDimensionBuilder<ViewportDimension.ViewportDimensionPropertyBuilderBuilder>
- Parameters:
aDimension
- the dimension- Returns:
- the b
-
setViewportDimension
public void setViewportDimension(int aWidth, int aHeight)
Sets the viewport dimension.- Specified by:
setViewportDimension
in interfaceViewportDimension.ViewportDimensionMutator
- Parameters:
aWidth
- the widthaHeight
- the height
-
setViewportDimension
public void setViewportDimension(ViewportDimension aDimension)
Sets the viewport dimension.- Specified by:
setViewportDimension
in interfaceViewportDimension.ViewportDimensionMutator
- Parameters:
aDimension
- the new viewport dimension
-
withViewportDimension
public ViewportDimensionImpl.ViewportDimensionPropertyBuilderImpl withViewportDimension(Dimension aDimension)
With viewport dimension.- Specified by:
withViewportDimension
in interfaceViewportDimension.ViewportDimensionBuilder<ViewportDimension.ViewportDimensionPropertyBuilderBuilder>
- Parameters:
aDimension
- the dimension- Returns:
- the b
-
setViewportDimension
public void setViewportDimension(Dimension aDimension)
Sets the viewport dimension.- Specified by:
setViewportDimension
in interfaceViewportDimension.ViewportDimensionMutator
- Parameters:
aDimension
- the new viewport dimension
-
-