eu.esdihumboldt.hale.ui.views.styledmap.clip.layout.impl
Class OnlyFirstLayout
java.lang.Object
eu.esdihumboldt.hale.ui.views.styledmap.clip.layout.impl.OnlyFirstLayout
- All Implemented Interfaces:
- PainterLayout
public class OnlyFirstLayout
- extends Object
- implements PainterLayout
Layout that displays only the first painter.
- Author:
- Simon Templer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OnlyFirstLayout
public OnlyFirstLayout()
createClips
public List<Clip> createClips(int count)
- Description copied from interface:
PainterLayout
- Create clip algorithms for a given number of painters.
- Specified by:
createClips
in interface PainterLayout
- Parameters:
count
- the number of painters to layout
- Returns:
- a clip for each painter to layout, it is also possible for an
element to be
null
, which means no clipping should
be applied to the corresponding painter. If the size of the list
is smaller than count, the remaining painters should be disabled - See Also:
PainterLayout.createClips(int)
getAugmentation
public LayoutAugmentation getAugmentation(int count)
- Description copied from interface:
PainterLayout
- Get the layout augmentation painter for a given number of painters.
- Specified by:
getAugmentation
in interface PainterLayout
- Parameters:
count
- the number of painters to layout
- Returns:
- the augmentation painter or
null
if there is none
available - See Also:
PainterLayout.getAugmentation(int)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d