view
Interface DisplayViewport.Pannable

All Known Implementing Classes:
DisplayPanel
Enclosing class:
DisplayViewport

public static interface DisplayViewport.Pannable

The Pannable interface contains those methods the view installed in a PseudoInfiniteViewport needs to support to enable panning behavior along with scrolling.


Method Summary
 int getCellSize()
          Get the size of the cells.
 java.lang.String getPanTipText()
          Get pan tooltip text.
 void pan(double dx, double dy)
          Pan by the specified amount.
 void resetPan()
          Reset the pan.
 

Method Detail

pan

void pan(double dx,
         double dy)
Pan by the specified amount.

Parameters:
dx - x-delta
dy - y delta

resetPan

void resetPan()
Reset the pan.


getCellSize

int getCellSize()
Get the size of the cells.

Returns:
size of cells

getPanTipText

java.lang.String getPanTipText()
Get pan tooltip text.

Returns:
pan tip text.