Style Intelligence v12.0

inetsoft.report
Interface LinkedShapePainter

All Superinterfaces:
Painter, Serializable

public interface LinkedShapePainter
extends Painter

Painter that can create shapes that have hyperlinks attached to them.

Since:
8.5

Method Summary
 Object getData(int dataset, int index)
          Gets the data object bound at the specified indexes.
 int getDatasetCount()
          Gets the number of datasets that this painter renders.
 int getDatasetSize()
          Gets the number of entries in each dataset that this painter renders.
 Shape[] getShapes(int dataset, int index)
          Gets the shapes that define the outline of the graphical element that represents the data value at the specified indexes.
 
Methods inherited from interface inetsoft.report.Painter
getPreferredSize, isScalable, paint
 

Method Detail

getDatasetCount

int getDatasetCount()
Gets the number of datasets that this painter renders.

Returns:
the number of datasets bound to this painter or -1 if this painter is not bound.

getDatasetSize

int getDatasetSize()
Gets the number of entries in each dataset that this painter renders.

Returns:
the size of each dataset bound to this painter or -1 if this painter is not bound.

getData

Object getData(int dataset,
               int index)
Gets the data object bound at the specified indexes.

Parameters:
dataset - the index of the dataset.
index - the index of the data value in the dataset.
Returns:
the data value at the specified location.

getShapes

Shape[] getShapes(int dataset,
                  int index)
Gets the shapes that define the outline of the graphical element that represents the data value at the specified indexes.

Parameters:
dataset - the index of the dataset.
index - the index of the data value in the dataset.
Returns:
the shapes used to represent the data value, or null if shapes exist for the specified data point.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.