Package com.cosylab.vdct.inspector
Class Inspector
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Dialog
-
- javax.swing.JDialog
-
- com.cosylab.vdct.inspector.Inspector
-
- All Implemented Interfaces:
InspectableObjectsListener
,InspectorInterface
,WindowListener
,ImageObserver
,MenuContainer
,Serializable
,EventListener
,Accessible
,ChangeListener
,RootPaneContainer
,WindowConstants
public class Inspector extends JDialog implements InspectableObjectsListener, InspectorInterface, WindowListener, ChangeListener
Insert the type's description here. Creation date: (6.1.2001 22:41:16)- Author:
- Matej Sekoranja
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
-
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
-
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.Type
-
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
-
Field Summary
-
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
-
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
-
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
-
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDsId()
Inspectable
getInspectedObject()
Insert the method's description here.int
getMode()
Returns the mode.void
inspectableObjectAdded(Inspectable object)
Insert the method's description here.void
inspectableObjectRemoved(Inspectable object)
Insert the method's description here.void
inspectObject(Inspectable object)
Insert the method's description here.void
inspectObject(Inspectable object, boolean raise)
Insert the method's description here.boolean
isFrozen()
Insert the method's description here.static void
main(String[] args)
main entrypoint - starts the part when it is run as an applicationvoid
reinitialize()
Insert the method's description here.void
setHelp(String help)
Insert the method's description here.void
setHelpColor(Color color)
void
setMode(int mode)
Sets the mode.void
setVisible(boolean state)
Insert the method's description here.void
stateChanged(ChangeEvent e)
TabbedPane listenervoid
updateComment()
Insert the method's description here.void
updateObject()
Insert the method's description here.void
updateObjectList()
Insert the method's description here.void
updateProperty(InspectableProperty property)
Insert the method's description here.void
windowActivated(WindowEvent e)
Invoked when the window is set to be the user's active window, which means the window (or one of its subcomponents) will receive keyboard events.void
windowClosed(WindowEvent e)
Invoked when a window has been closed as the result of calling dispose on the window.void
windowClosing(WindowEvent e)
Invoked when the user attempts to close the window from the window's system menu.void
windowDeactivated(WindowEvent e)
Invoked when a window is no longer the user's active window, which means that keyboard events will no longer be delivered to the window or its subcomponents.void
windowDeiconified(WindowEvent e)
Invoked when a window is changed from a minimized to a normal state.void
windowIconified(WindowEvent e)
Invoked when a window is changed from a normal to a minimized state.void
windowOpened(WindowEvent e)
Invoked the first time a window is made visible.-
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBack
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.cosylab.vdct.inspector.InspectorInterface
dispose
-
-
-
-
Method Detail
-
stateChanged
public void stateChanged(ChangeEvent e)
TabbedPane listener- Specified by:
stateChanged
in interfaceChangeListener
-
getInspectedObject
public Inspectable getInspectedObject()
Insert the method's description here. Creation date: (8.1.2001 21:43:40)- Specified by:
getInspectedObject
in interfaceInspectorInterface
- Returns:
- com.cosylab.vdct.inspector.Inspectable
-
inspectableObjectAdded
public void inspectableObjectAdded(Inspectable object)
Insert the method's description here. Creation date: (17.4.2001 17:36:09)- Specified by:
inspectableObjectAdded
in interfaceInspectableObjectsListener
- Parameters:
object
- com.cosylab.vdct.inspector.Inspectable
-
inspectableObjectRemoved
public void inspectableObjectRemoved(Inspectable object)
Insert the method's description here. Creation date: (17.4.2001 17:36:09)- Specified by:
inspectableObjectRemoved
in interfaceInspectableObjectsListener
- Parameters:
object
- com.cosylab.vdct.inspector.Inspectable
-
inspectObject
public void inspectObject(Inspectable object)
Insert the method's description here. Creation date: (8.1.2001 17:50:20)- Specified by:
inspectObject
in interfaceInspectorInterface
- Parameters:
object
- com.cosylab.vdct.inspector.Inspectable
-
inspectObject
public void inspectObject(Inspectable object, boolean raise)
Insert the method's description here. Creation date: (8.1.2001 17:50:20)- Parameters:
object
- com.cosylab.vdct.inspector.Inspectableraise
- raise
-
isFrozen
public boolean isFrozen()
Insert the method's description here. Creation date: (8.1.2001 21:49:13)- Specified by:
isFrozen
in interfaceInspectorInterface
- Returns:
- boolean
-
main
public static void main(String[] args)
main entrypoint - starts the part when it is run as an application- Parameters:
args
- java.lang.String[]
-
reinitialize
public void reinitialize()
Insert the method's description here. Creation date: (8.1.2001 17:50:20)- Specified by:
reinitialize
in interfaceInspectorInterface
-
updateObject
public void updateObject()
Insert the method's description here. Creation date: (8.1.2001 17:50:20)- Specified by:
updateObject
in interfaceInspectorInterface
-
setHelp
public void setHelp(String help)
Insert the method's description here. Creation date: (26.1.2001 15:18:44)- Specified by:
setHelp
in interfaceInspectorInterface
- Parameters:
help
- java.lang.String
-
setHelpColor
public void setHelpColor(Color color)
- Specified by:
setHelpColor
in interfaceInspectorInterface
- Parameters:
color
- color
-
setVisible
public void setVisible(boolean state)
Insert the method's description here. Creation date: (26.1.2001 16:24:25)- Specified by:
setVisible
in interfaceInspectorInterface
- Overrides:
setVisible
in classDialog
- Parameters:
state
- boolean
-
updateComment
public void updateComment()
Insert the method's description here. Creation date: (5.5.2001 15:13:41)- Specified by:
updateComment
in interfaceInspectorInterface
-
updateObjectList
public void updateObjectList()
Description copied from interface:InspectorInterface
Insert the method's description here. Creation date: (8.1.2001 17:46:28)- Specified by:
updateObjectList
in interfaceInspectorInterface
-
updateProperty
public void updateProperty(InspectableProperty property)
Insert the method's description here. Creation date: (5.5.2001 15:13:41)- Specified by:
updateProperty
in interfaceInspectorInterface
- Parameters:
property
- com.cosylab.vdct.inspector.InspectableProperty
-
windowActivated
public void windowActivated(WindowEvent e)
Invoked when the window is set to be the user's active window, which means the window (or one of its subcomponents) will receive keyboard events.- Specified by:
windowActivated
in interfaceWindowListener
- Parameters:
e
- e
-
windowClosed
public void windowClosed(WindowEvent e)
Invoked when a window has been closed as the result of calling dispose on the window.- Specified by:
windowClosed
in interfaceWindowListener
- Parameters:
e
- e
-
windowClosing
public void windowClosing(WindowEvent e)
Invoked when the user attempts to close the window from the window's system menu. If the program does not explicitly hide or dispose the window while processing this event, the window close operation will be cancelled.- Specified by:
windowClosing
in interfaceWindowListener
- Parameters:
e
- e
-
windowDeactivated
public void windowDeactivated(WindowEvent e)
Invoked when a window is no longer the user's active window, which means that keyboard events will no longer be delivered to the window or its subcomponents.- Specified by:
windowDeactivated
in interfaceWindowListener
- Parameters:
e
- e
-
windowDeiconified
public void windowDeiconified(WindowEvent e)
Invoked when a window is changed from a minimized to a normal state.- Specified by:
windowDeiconified
in interfaceWindowListener
- Parameters:
e
- e
-
windowIconified
public void windowIconified(WindowEvent e)
Invoked when a window is changed from a normal to a minimized state. For many platforms, a minimized window is displayed as the icon specified in the window's iconImage property.- Specified by:
windowIconified
in interfaceWindowListener
- Parameters:
e
- e- See Also:
Frame.setIconImage(java.awt.Image)
-
windowOpened
public void windowOpened(WindowEvent e)
Invoked the first time a window is made visible.- Specified by:
windowOpened
in interfaceWindowListener
- Parameters:
e
- e
-
getMode
public int getMode()
Returns the mode.- Specified by:
getMode
in interfaceInspectorInterface
- Returns:
- int
-
setMode
public void setMode(int mode)
Sets the mode.- Parameters:
mode
- The mode to set
-
getDsId
public Object getDsId()
- Specified by:
getDsId
in interfaceInspectableObjectsListener
- Specified by:
getDsId
in interfaceInspectorInterface
- Returns:
- something
-
-