public class DrillComponentHandle extends ComponentHandle
Graph component that indicates drilling,
and provides information
about the edge and layer of the component.m_dataAccess| Constructor and Description |
|---|
DrillComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int edge,
int layer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ComponentInfo |
getComponentInfo()
Retrieves the
DrillComponentInfo for the component that
this DrillComponentHandle represents. |
int |
getEdge()
Retrieves the edge that the drilling component is on.
|
int |
getLayer()
Retrieves the layer of the drilling component.
|
java.lang.String |
toString()
Generates a
String representation of this
DrillComponentHandle. |
getComponent, getID, getName, setDataAccesspublic DrillComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int edge,
int layer)
id - A constant that identifies the component that this
DrillComponentHandle represents.name - The name of the represented component.comp - The actual reference to the component.edge - A constant that identifies the edge of the component.
Valid constants are listed in the See Also section.layer - The layer of the cell that this
DrillComponentHandle represents.DataDirector.COLUMN_EDGE,
DataDirector.PAGE_EDGE,
DataDirector.ROW_EDGEpublic java.lang.String toString()
String representation of this
DrillComponentHandle.
The String contains the name of this class, the name of the
component, and location of the represented item, as identified by its
edge and layer.toString in class java.lang.ObjectString representation of this object.public int getEdge()
DataDirector.COLUMN_EDGE,
DataDirector.PAGE_EDGE,
DataDirector.ROW_EDGEpublic int getLayer()
DrillComponentHandle
represents.public ComponentInfo getComponentInfo()
DrillComponentInfo for the component that
this DrillComponentHandle represents.getComponentInfo in class ComponentHandleDrillComponentInfo can be null,
though this is not normal.DataComponentHandlepublic boolean equals(java.lang.Object o)
equals in class ComponentHandleDrillComponentHandle.