|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JTree | +--gate.gui.OracleDatastoreViewer
Inner classes inherited from class javax.swing.JTree |
JTree.DynamicUtilTreeNode |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
OracleDatastoreViewer()
|
Method Summary | |
void |
cleanup()
Clears the internal data of the resource, when it gets released |
void |
clear()
|
FeatureMap |
getFeatures()
Accessor for features. |
Object |
getParameterValue(String paramaterName)
Gets the value of a parameter of this resource. |
Resource |
init()
Initialise this resource, and return it. |
void |
resourceAdopted(DatastoreEvent e)
Called by a datastore when a new resource has been adopted |
void |
resourceDeleted(DatastoreEvent e)
Called by a datastore when a resource has been deleted |
void |
resourceWritten(DatastoreEvent e)
Called by a datastore when a resource has been wrote into the datastore |
void |
setFeatures(FeatureMap features)
Mutator for features |
void |
setHandle(Handle handle)
Used by the main GUI to tell this VR what handle created it. |
void |
setParameterValue(String paramaterName,
Object parameterValue)
Sets the value for a specified parameter. |
void |
setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step. |
void |
setTarget(Object target)
Called by the GUI when this viewer/editor has to initialise itself for a specific object. |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gate.util.NameBearer |
getName, setName |
Constructor Detail |
public OracleDatastoreViewer()
Method Detail |
public void cleanup()
Resource
cleanup
in interface Resource
public FeatureMap getFeatures()
getFeatures
in interface FeatureBearer
public void setFeatures(FeatureMap features)
setFeatures
in interface FeatureBearer
public Object getParameterValue(String paramaterName) throws ResourceInstantiationException
getParameterValue
in interface Resource
paramaterName
- the name of the parameterpublic void setParameterValue(String paramaterName, Object parameterValue) throws ResourceInstantiationException
setParameterValue
in interface Resource
paramaterName
- the name for the parameteerparameterValue
- the value the parameter will receivepublic void setParameterValues(FeatureMap parameters) throws ResourceInstantiationException
setParameterValues
in interface Resource
parameters
- a feature map that has paramete names as keys and
parameter values as values.public Resource init() throws ResourceInstantiationException
init
in interface Resource
public void clear()
public void setTarget(Object target)
VisualResource
setTarget
in interface VisualResource
gate.VisualResource
target
- the object (be it a Resource
,
DataStore
or whatever) this viewer has to displaypublic void setHandle(Handle handle)
VisualResource
setHandle
in interface VisualResource
public void resourceAdopted(DatastoreEvent e)
DatastoreListener
resourceAdopted
in interface DatastoreListener
public void resourceDeleted(DatastoreEvent e)
DatastoreListener
resourceDeleted
in interface DatastoreListener
public void resourceWritten(DatastoreEvent e)
DatastoreListener
resourceWritten
in interface DatastoreListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |