fr.esrf.tangoatk.widget.jdraw
Class SynopticFileViewer

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by fr.esrf.tangoatk.widget.util.jdraw.JDrawEditor
                  extended by fr.esrf.tangoatk.widget.jdraw.TangoSynopticHandler
                      extended by fr.esrf.tangoatk.widget.jdraw.SynopticFileViewer
All Implemented Interfaces:
IAttributeStateListener, IBooleanScalarListener, IDevStateScalarListener, IDevStateSpectrumListener, IErrorListener, INumberScalarListener, IStateListener, IStatusListener, java.awt.event.ActionListener, java.awt.event.ComponentListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener

public class SynopticFileViewer
extends TangoSynopticHandler

See Also:
Serialized Form

Nested Class Summary
 
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
 
Fields inherited from class fr.esrf.tangoatk.widget.jdraw.TangoSynopticHandler
TOOL_TIP_NAME, TOOL_TIP_NONE, TOOL_TIP_STATE, TOOL_TIP_STATUS
 
Fields inherited from class fr.esrf.tangoatk.widget.util.jdraw.JDrawEditor
CREATE_AXIS, CREATE_BAR, CREATE_CLIPBOARD, CREATE_ELLIPSE, CREATE_IMAGE, CREATE_LABEL, CREATE_LINE, CREATE_POLYLINE, CREATE_RECTANGLE, CREATE_RRECTANGLE, CREATE_SLIDER, CREATE_SPLINE, CREATE_SWINGOBJECT, MODE_EDIT, MODE_EDIT_GROUP, MODE_LIB, MODE_PLAY
 
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
SynopticFileViewer()
           
SynopticFileViewer(java.lang.String jdrawf)
           
SynopticFileViewer(java.lang.String jdrawd, java.lang.String jdrawf)
           
 
Method Summary
 java.lang.String getJdrawDir()
           
 java.lang.String getJdrawFileName()
           
static void main(java.lang.String[] args)
           
 void setJdrawDir(java.lang.String newDir)
           
 void setJdrawFileName(java.lang.String jdrawf)
           
 
Methods inherited from class fr.esrf.tangoatk.widget.jdraw.TangoSynopticHandler
booleanScalarChange, devStateScalarChange, devStateSpectrumChange, errorChange, getAttributeList, getErrorHistoryWindow, getSynopticFileName, getToolTipMode, isAttribute, isCommand, isDevice, isSpectrumAttElement, loadSynopticFromStream, numberScalarChange, parseJdrawComponents, setErrorHistoryWindow, setSynopticFileName, setToolTipMode, stateChange, stateChange, statusChange, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class fr.esrf.tangoatk.widget.util.jdraw.JDrawEditor
actionPerformed, addEditorListener, addObject, addToMenu, alignbottomSelection, alignleftSelection, alignrightSelection, aligntopSelection, backSelection, canRedo, canUndo, clearEditorListener, clearObjects, clearUndo, componentHidden, componentMoved, componentResized, componentShown, computePreferredSize, convertToPolyline, copySelection, create, create, cutSelection, deleteSelection, frontSelection, generateJavaClasses, getClipboardLength, getClipboardObjects, getFileName, getGridSize, getInteractiveObjects, getLastActionName, getMinimumSize, getMode, getNeedToSaveState, getNextActionName, getObjectAt, getObjectNumber, getObjects, getObjectsByName, getObjectsOfClass, getPreferredSize, getSelectedObjects, getSelectionLength, getZoomFactor, getZoomFactorPercent, groupSelection, initPlayer, instantSave, isAlignToGrid, isAutoZoom, isGridVisible, isSelected, keyPressed, keyReleased, keyTyped, loadFile, loadFromStream, lowerObject, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mousePressedEditorB1, mousePressedEditorB3, mousePressedPlayerB1, mousePressedPlayerB3, mouseReleased, paint, paintObjects, paintSelection, pasteClipboard, raiseObject, redo, removeEditorListener, repaint, saveFile, scaleSelection, selectAll, selectNotVisible, selectObject, selectObjects, setAlignToGrid, setAutoZoom, setAutoZoomFactor, setGridSize, setGridVisible, setPreferredSize, setStatusLabel, setTranslation, setZoomFactor, showBrowserWindow, showGroupEditorWindow, showGroupJavaWindow, showOpenDialog, showPropertyWindow, showSaveDialog, showTransformWindow, translateSelection, undo, ungroupSelection, unselectAll, unselectObject, zoomIn, zoomOut
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, 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, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, 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, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
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
 

Constructor Detail

SynopticFileViewer

public SynopticFileViewer()

SynopticFileViewer

public SynopticFileViewer(java.lang.String jdrawf)
                   throws java.util.MissingResourceException,
                          java.io.FileNotFoundException,
                          java.lang.IllegalArgumentException
Throws:
java.util.MissingResourceException
java.io.FileNotFoundException
java.lang.IllegalArgumentException

SynopticFileViewer

public SynopticFileViewer(java.lang.String jdrawd,
                          java.lang.String jdrawf)
                   throws java.util.MissingResourceException,
                          java.io.FileNotFoundException,
                          java.lang.IllegalArgumentException
Throws:
java.util.MissingResourceException
java.io.FileNotFoundException
java.lang.IllegalArgumentException
Method Detail

getJdrawDir

public java.lang.String getJdrawDir()

setJdrawDir

public void setJdrawDir(java.lang.String newDir)

getJdrawFileName

public java.lang.String getJdrawFileName()

setJdrawFileName

public void setJdrawFileName(java.lang.String jdrawf)
                      throws java.util.MissingResourceException,
                             java.io.FileNotFoundException,
                             java.lang.IllegalArgumentException
Throws:
java.util.MissingResourceException
java.io.FileNotFoundException
java.lang.IllegalArgumentException

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments