public abstract class Tool extends Object
Modifier and Type | Field and Description |
---|---|
protected EventListenerList |
listeners
Use Swing's listener framework for our listeners
|
Constructor and Description |
---|
Tool() |
Modifier and Type | Method and Description |
---|---|
abstract void |
bosConnectionAvailable()
Method called by the LoginTool once the BOS connection is available.
|
int |
getFamily()
Get the value of family.
|
int |
getId()
Get the value of id.
|
AIMSession |
getSession() |
ToolData |
getToolData() |
int |
getVersion()
Get the value of version.
|
void |
setFamily(int family)
Set the value of family.
|
void |
setId(int id)
Set the value of id.
|
void |
setSession(AIMSession session) |
void |
setToolData(ToolData toolData) |
void |
setVersion(int version)
Set the value of version.
|
abstract void |
shutdown(AIMSession sess)
Called when the tool is shutting down.
|
protected final EventListenerList listeners
public abstract void shutdown(AIMSession sess)
sess
- the oscar sessionpublic abstract void bosConnectionAvailable()
public int getFamily()
public void setFamily(int family)
family
- Value to assign to family.public int getId()
public void setId(int id)
id
- Value to assign to id.public int getVersion()
public void setVersion(int version)
version
- Value to assign to version.public AIMSession getSession()
public void setSession(AIMSession session)
public ToolData getToolData()
public void setToolData(ToolData toolData)