public class IlvAccessibleDataObject extends Object implements IlvChartAreaAccessible
Constructor and Description |
---|
IlvAccessibleDataObject(IlvChartRenderer renderer,
IlvObjectModelWithColumns model,
Object object)
Creates an
IlvAccessibleDataObject object associated with
the specified renderer and data object. |
IlvAccessibleDataObject(IlvChartRenderer renderer,
IlvTreeModelWithColumns model,
Object object,
TreePath path)
Creates an
IlvAccessibleDataObject object associated with
the specified renderer and data object. |
Modifier and Type | Method and Description |
---|---|
void |
drawSelectionHandles(Graphics g,
IlvHandlesSelectionStyle style)
Draws this element with selection handles.
|
boolean |
equals(Object other)
Compares this object to another object.
|
IlvObjectModelWithColumns |
getModel()
Returns the model to which the data object belongs.
|
Object |
getObject()
Returns the data object.
|
TreePath |
getPath()
For a tree model, returns the tree path from the root to the object
represented by this area.
|
IlvChartRenderer |
getRenderer()
Returns the renderer that displays the data model.
|
int |
hashCode()
Returns a hash code that is compatible with
equals . |
boolean |
isViewable()
Returns true if this data point can currently be displayed.
|
String |
toString()
Returns a string representation of this object.
|
public IlvAccessibleDataObject(IlvChartRenderer renderer, IlvObjectModelWithColumns model, Object object)
IlvAccessibleDataObject
object associated with
the specified renderer and data object.renderer
- A renderer displaying objects.model
- A flat or tree-like object model.object
- An object in the model.public IlvAccessibleDataObject(IlvChartRenderer renderer, IlvTreeModelWithColumns model, Object object, TreePath path)
IlvAccessibleDataObject
object associated with
the specified renderer and data object.renderer
- A renderer displaying objects.model
- A tree-like object model.object
- An object in the model.path
- The path from the model root to the given object.public final IlvChartRenderer getRenderer()
public IlvObjectModelWithColumns getModel()
public Object getObject()
public TreePath getPath()
public boolean isViewable()
isViewable
in interface IlvChartAreaAccessible
public void drawSelectionHandles(Graphics g, IlvHandlesSelectionStyle style)
drawSelectionHandles
in interface IlvChartAreaAccessible
public boolean equals(Object other)
public int hashCode()
equals
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.