|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
au.edu.jcu.hermes.ui.swing.plugin.icat.ICATView
public class ICATView
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
javax.swing.JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static int |
DATAFILE
Data File object. |
static int |
DATAFILE_PARAMETER
Parameter heading under a data file object. |
static int |
DATAFILE_PARAMETER_HEADING
Parameter under a data file object. |
static int |
DATAFILES_HEADING
Data Files heading under a data set object. |
static int |
DATASET
Data Set object. |
static int |
DATASET_HEADING
Data Set Heading under an Investigation object. |
static int |
DATASET_PARAMETER
Parameter heading under a data set object. |
static int |
DATASET_PARAMETER_HEADING
Parameter under a data set object. |
static int |
INVESTIGATION
Investigation object. |
static java.lang.String |
META_CHANGED
Listener group for when meta data has been changed. |
static java.lang.String |
NEW_ITEM
Listener group for when the user creates a new object. |
static java.lang.String |
REMOVE_ITEM
Listener group for when the user deletes an object. |
static int |
ROOT
Root level of the tree. |
static int |
SAMPLE
Sample object. |
static int |
SAMPLE_HEADING
Sample heading under an Investigation object. |
static int |
SAMPLE_PARAMETER
Parameter under a Sample object. |
static int |
SAMPLE_PARAMETER_HEADING
Parameter heading under a Sample object. |
static java.lang.String |
SELECTION_CHANGED
Listener group for when the user selects a new object. |
static int |
STUDY
Study object. |
static java.lang.String |
URL_CHANGED
Listener group for when the user selects a different url to connect to. |
static java.lang.String |
URL_REMOVED
Listener group for when the user removes a connection. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 | |
|---|---|
ICATView()
Default Constructor. |
|
| Method Summary | |
|---|---|
void |
addMetaDataChangedListener(java.awt.event.ActionListener listener)
Add a listener for when meta data gets changed. |
void |
addNewItemListener(java.awt.event.ActionListener listener)
Add a listener for when the user wants to add a new item. |
void |
addRemoveItemListener(java.awt.event.ActionListener listener)
Add a listener for when the user wants to delete an item. |
void |
addSelectionChangedListener(java.awt.event.ActionListener listener)
Add a listener for when the user selects a different item. |
void |
addUrl(IICATConnector connector)
Set the URL that is connected to. |
void |
addUrlChangedListener(java.awt.event.ActionListener listener)
Add a listener for when the user changes the url they are connected to. |
void |
addUrlRemovedListener(java.awt.event.ActionListener listener)
Add a listener for when the user removes a url they are connected to. |
DataFile |
getDataFile()
Get the changes made to the selected data file. |
DataFileParameter |
getDataFileParameter()
get the changes made to the selected data file parameter. |
DataSet |
getDataSet()
Get all changes made to the selected data set. |
DataSetParameter |
getDataSetParameter()
Get the changes made to the selected data set parameter. |
Investigation |
getInvestigation()
Get all changes made to the selected Investigation. |
int |
getNewNodeType()
Get the type of node to create. |
long |
getNodeId()
Get the ID of the currently selected node. |
IICATConnector |
getRemovedUrl()
Get the connector that was removed from the list. |
Sample |
getSample()
Get all changes made to the selected Sample. |
SampleParameter |
getSampleParameter()
Get the changes made to the selected sample parameter. |
Study |
getStudy()
Get all changes made to the selected Study. |
int |
getTypeSelected()
Get the type of the currently selected node. |
IICATConnector |
getUrl()
return the entered URL to connect to. |
void |
setDataFile(DataFile dataFile)
Set the current meta data table to view a data file. |
void |
setDataFileFormats(java.util.List<DataFileFormat> formats)
Set the list of possible Data File Formats. |
void |
setDataFileHeadingTable(java.util.List<DataFile> dataFiles)
Set up the meta data table to view the list of data files for the data set. |
void |
setDataFileParameter(DataFileParameter parameter)
Set the current meta data table to view a data file parameter. |
void |
setDataFileParameterHeadingTable(java.util.List<DataFileParameter> parameters)
Set up the meta data table to view the list of data file parameters for the data file. |
void |
setDataSet(DataSet dataSet)
Set the current meta data table to view a data set. |
void |
setDataSetHeadingTable(java.util.List<DataSet> dataSets)
Set up the meta data table to view the list of data sets for the investigation. |
void |
setDataSetParameter(DataSetParameter parameter)
Set the current meta data table to view a data set parameter. |
void |
setDataSetParameterHeadingTable(java.util.List<DataSetParameter> parameters)
Set up the meta data table to view the list of data set parameters for the data set. |
void |
setDataSetStatus(java.util.List<DataSetStatus> statusList)
Set the list of possible Data Set Status'. |
void |
setDataSetTypes(java.util.List<DataSetType> types)
Set the list of possible Data Set Types. |
void |
setInstrumentList(java.util.List<Instrument> instruments)
Set the list of possible instruments. |
void |
setInvestigation(Investigation inv)
Set the current meta data table to view an Investigation. |
void |
setInvestigationTypes(java.util.List<InvestigationType> types)
Set the list of possible investigation Types. |
void |
setMessage(java.lang.String message)
give the user a message. |
void |
setReadOnly(boolean readonly)
Set whether the interface should be readonly or not. |
void |
setSample(Sample sample)
Set the current meta data table to view a sample. |
void |
setSampleHeadingTable(java.util.List<Sample> samples)
Set up the meta data table to view the list of samples for the investigation. |
void |
setSampleParameter(SampleParameter parameter)
Set the current meta data table to view a sample parameter. |
void |
setSampleParameterHeadingTable(java.util.List<SampleParameter> parameters)
Set up the meta data table to view the list of sample parameters for the sample. |
void |
setStudy(Study study)
Set the current meta data table to view a study. |
void |
setStudyStatus(java.util.List<StudyStatus> studyStatus)
Set the list of possible study status'. |
void |
setTree(javax.swing.tree.DefaultMutableTreeNode root)
Set the data for the tree view. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ROOT
public static final int STUDY
public static final int INVESTIGATION
public static final int SAMPLE_HEADING
public static final int SAMPLE
public static final int DATASET_HEADING
public static final int DATASET
public static final int DATAFILE
public static final int SAMPLE_PARAMETER_HEADING
public static final int DATAFILES_HEADING
public static final int DATAFILE_PARAMETER
public static final int DATASET_PARAMETER
public static final int SAMPLE_PARAMETER
public static final int DATASET_PARAMETER_HEADING
public static final int DATAFILE_PARAMETER_HEADING
public static final java.lang.String META_CHANGED
public static final java.lang.String SELECTION_CHANGED
public static final java.lang.String NEW_ITEM
public static final java.lang.String REMOVE_ITEM
public static final java.lang.String URL_CHANGED
public static final java.lang.String URL_REMOVED
| Constructor Detail |
|---|
public ICATView()
| Method Detail |
|---|
public void setReadOnly(boolean readonly)
setReadOnly in interface IICATViewreadonly - - booleanpublic void setMessage(java.lang.String message)
setMessage in interface IICATViewmessage - - Stringpublic IICATConnector getUrl()
getUrl in interface IICATViewpublic void addUrl(IICATConnector connector)
addUrl in interface IICATViewconnector - - IICATConnectorpublic IICATConnector getRemovedUrl()
getRemovedUrl in interface IICATViewpublic void addMetaDataChangedListener(java.awt.event.ActionListener listener)
addMetaDataChangedListener in interface IICATViewlistener - - ActionListenerpublic void addSelectionChangedListener(java.awt.event.ActionListener listener)
addSelectionChangedListener in interface IICATViewlistener - - ActionListenerpublic void addNewItemListener(java.awt.event.ActionListener listener)
addNewItemListener in interface IICATViewlistener - - ActionListenerpublic void addRemoveItemListener(java.awt.event.ActionListener listener)
addRemoveItemListener in interface IICATViewlistener - - ActionListenerpublic void addUrlChangedListener(java.awt.event.ActionListener listener)
addUrlChangedListener in interface IICATViewlistener - - ActionListenerpublic void addUrlRemovedListener(java.awt.event.ActionListener listener)
addUrlRemovedListener in interface IICATViewlistener - - ActionListenerpublic long getNodeId()
getNodeId in interface IICATViewpublic int getTypeSelected()
getTypeSelected in interface IICATViewpublic int getNewNodeType()
getNewNodeType in interface IICATViewpublic Study getStudy()
getStudy in interface IICATViewpublic void setStudy(Study study)
setStudy in interface IICATViewstudy - - Studypublic void setStudyStatus(java.util.List<StudyStatus> studyStatus)
setStudyStatus in interface IICATViewstudyStatus - - List of StudyStatuspublic Investigation getInvestigation()
getInvestigation in interface IICATViewpublic void setInvestigation(Investigation inv)
setInvestigation in interface IICATViewinv - - Investigationpublic void setInstrumentList(java.util.List<Instrument> instruments)
setInstrumentList in interface IICATViewinstruments - - List of Instrumentpublic void setInvestigationTypes(java.util.List<InvestigationType> types)
setInvestigationTypes in interface IICATViewtypes - - List of InvestigationTypepublic Sample getSample()
getSample in interface IICATViewpublic void setSample(Sample sample)
setSample in interface IICATViewsample - - Samplepublic DataSet getDataSet()
getDataSet in interface IICATViewpublic void setDataSet(DataSet dataSet)
setDataSet in interface IICATViewdataSet - - DataSetpublic void setDataSetTypes(java.util.List<DataSetType> types)
setDataSetTypes in interface IICATViewtypes - - List of DataSetTypepublic void setDataSetStatus(java.util.List<DataSetStatus> statusList)
setDataSetStatus in interface IICATViewstatusList - - List of DataSetStatuspublic void setDataFile(DataFile dataFile)
setDataFile in interface IICATViewdataFile - - DataFilepublic DataFile getDataFile()
getDataFile in interface IICATViewpublic void setDataFileFormats(java.util.List<DataFileFormat> formats)
setDataFileFormats in interface IICATViewformats - - List of DataFileFormatpublic void setDataFileParameter(DataFileParameter parameter)
setDataFileParameter in interface IICATViewparameter - - DataFileParameterpublic DataFileParameter getDataFileParameter()
getDataFileParameter in interface IICATViewpublic void setDataSetParameter(DataSetParameter parameter)
setDataSetParameter in interface IICATViewparameter - - DataSetParameterpublic DataSetParameter getDataSetParameter()
getDataSetParameter in interface IICATViewpublic void setSampleParameter(SampleParameter parameter)
setSampleParameter in interface IICATViewparameter - - SampleParameterpublic SampleParameter getSampleParameter()
getSampleParameter in interface IICATViewpublic void setSampleHeadingTable(java.util.List<Sample> samples)
setSampleHeadingTable in interface IICATViewsamples - - List of Samplepublic void setDataSetHeadingTable(java.util.List<DataSet> dataSets)
setDataSetHeadingTable in interface IICATViewdataSets - - List of DataSetpublic void setDataFileHeadingTable(java.util.List<DataFile> dataFiles)
setDataFileHeadingTable in interface IICATViewdataFiles - - List of DataFilepublic void setSampleParameterHeadingTable(java.util.List<SampleParameter> parameters)
setSampleParameterHeadingTable in interface IICATViewparameters - - List of SampleParameterpublic void setDataSetParameterHeadingTable(java.util.List<DataSetParameter> parameters)
setDataSetParameterHeadingTable in interface IICATViewparameters - - List of DataSetParameterpublic void setDataFileParameterHeadingTable(java.util.List<DataFileParameter> parameters)
setDataFileParameterHeadingTable in interface IICATViewparameters - - List of DataFileParameterpublic void setTree(javax.swing.tree.DefaultMutableTreeNode root)
setTree in interface IICATViewroot - - DefaultMutableTreeNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||