Modifier and Type | Field and Description |
---|---|
protected CommonGauge |
m_commonGauge |
protected int |
m_compType |
Modifier | Constructor and Description |
---|---|
protected |
BaseGaugeComponent(CommonGauge gauge, int compType) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getComponentName() |
protected int |
getComponentType()
Returns the type of this component.
|
boolean |
selectObject(int row, int column)
This method selects either a particular gauge's component of this type or components of this type in all gauges in the gauge set.
|
protected CommonGauge m_commonGauge
protected int m_compType
protected BaseGaugeComponent(CommonGauge gauge, int compType)
gauge
- The gauge that this object belongs to.public boolean selectObject(int row, int column)
row
- The row
of the gauge that this component belongs to.column
- The column
of the gauge that this component belongs to.True
if the component(s) were selected, False
if the component(s) couldn't be selected.protected java.lang.String getComponentName()
protected int getComponentType()
GaugeConstants
beginning with ID_