Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.styledmap.clip.layout.impl
Class DiagonalDownLayout

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.views.styledmap.clip.layout.impl.DiagonalDownLayout
All Implemented Interfaces:
PainterLayout

public class DiagonalDownLayout
extends Object
implements PainterLayout

Diagonal layout that splits the view-port in bottom-left and top-right. Supports only two painters, for additional painters no clip is provided.

Author:
Simon Templer

Constructor Summary
DiagonalDownLayout()
           
 
Method Summary
 List<Clip> createClips(int count)
          Create clip algorithms for a given number of painters.
 LayoutAugmentation getAugmentation(int count)
          Get the layout augmentation painter for a given number of painters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagonalDownLayout

public DiagonalDownLayout()
Method Detail

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)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d