Getsecondarydimensionlayout(), Getwrapboundary(), Setsecondarydimensionlayout(gridlayoutprovider) – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 114: Setwrapboundary(integer), Getsecondarydimensionlayout, Getwrapboundary, Setsecondarydimensionlayout, Setwrapboundary
(continued from last page)
Property: The layout provider for the primary dimension for the grid. The primary dimension is the one (vertical or
horizontal) that would be the only one if there was no wrapping. For instance normal text has horizontal as primary
dimension.
Note that normally a
GridLayoutProvider
can privide for both dimensions, however to be able to set different types of
layouts in a visual environment this one will only be used to provide a layout for one dimension. This class
(
DateAreaBean
) is itself a
GridLayoutProvider
and will relay the request to this provider, if set, but only for one
dimension.
Parameters:
layout
getSecondaryDimensionLayout
public GridLayoutProvider getSecondaryDimensionLayout()
Property: The layout provider for the secondary dimension for the grid. The secondary dimension is the one (vertical or
horizontal) that increases when there is a wrap. For instance normal text has vertical as secondary dimension.
Note that normally a
GridLayoutProvider
can privide for both dimensions, however to be able to set different types of
layouts in a visual environment this one will only be used to provide a layout for one dimension. This class
(
DateAreaBean
) is itself a
GridLayoutProvider
and will relay the request to this provider, if set, but only for one
dimension.
Returns:
The layout provider for the primary dimension.
setSecondaryDimensionLayout
public void setSecondaryDimensionLayout(GridLayoutProvider layout)
Property: The layout provider for the secondary dimension for the grid. The secondary dimension is the one (vertical or
horizontal) that increases when there is a wrap. For instance normal text has vertical as secondary dimension.
Note that normally a
GridLayoutProvider
can privide for both dimensions, however to be able to set different types of
layouts in a visual environment this one will only be used to provide a layout for one dimension. This class
(
DateAreaBean
) is itself a
GridLayoutProvider
and will relay the request to this provider, if set, but only for one
dimension.
Parameters:
layout
getWrapBoundary
public Integer getWrapBoundary()
Returns a which boundary (e.g. week, day) that the grid should wrap. E.g
RANGE_TYPE_WEEK
.
Returns:
Which boundary (e.g. week, day) that the grid should wrap. Default is
DateRangeI.RANGE_TYPE_WEEK
.
setWrapBoundary
public void setWrapBoundary(Integer wrap)
Set which boundary (e.g. week, day) that the grid should wrap. E.g
RANGE_TYPE_WEEK
.
Parameters:
wrap
- Which boundary (e.g. week, day) that the grid should wrap. Default is
DateRangeI.RANGE_TYPE_WEEK
.
Page 114 of 196
com.miginfocom.beans.DateAreaBean