vtk
Class vtkXYPlotWidget

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkInteractorObserver
              extended byvtk.vtkXYPlotWidget
All Implemented Interfaces:
java.io.Serializable

public class vtkXYPlotWidget
extends vtkInteractorObserver
implements java.io.Serializable

vtkXYPlotWidget - 2D widget for manipulating a XY plot. This class provides support for interactively manipulating the position, size, and orientation of a XY Plot. It listens to Left mouse events and mouse movement. It will change the cursor shape based on its location. If the cursor is over an edge of thea XY plot it will change the cursor shape to a resize edge shape. If the position of a XY plot is moved to be close to the center of one of the four edges of the viewport, then the XY plot will change its orientation to align with that edge. This orientation is sticky in that it will stay that orientation until the position is moved close to another edge. JavaBean wrapper for vtkXYPlotWidget object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkXYPlotWidget()
           
protected vtkXYPlotWidget(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 vtkXYPlotWidget getThisXYPlotWidget()
           
 vtkXYPlotActor getXYPlotActor()
          Get the XY plot used by this Widget.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setEnabled(int id0)
          Methods for turning the interactor observer on and off.
 void setXYPlotActor(vtkXYPlotActor id0)
          Get the XY plot used by this Widget.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkInteractorObserver
enabledOff, enabledOn, getCurrentRenderer, getDefaultRenderer, getEnabled, getInteractor, getKeyPressActivation, getKeyPressActivationValue, getPriority, getPriorityMaxValue, getPriorityMinValue, getThisInteractorObserver, keyPressActivationOff, keyPressActivationOn, off, on, onChar, setCurrentRenderer, setDefaultRenderer, setInteractor, setKeyPressActivation, setKeyPressActivationValue, setPriority
 
Methods inherited from class vtk.vtkObject
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister
 
Methods inherited from class vtk.vtkObjectBase
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkXYPlotWidget

public vtkXYPlotWidget()

vtkXYPlotWidget

protected vtkXYPlotWidget(int dmy)
Method Detail

getThisXYPlotWidget

public vtkXYPlotWidget getThisXYPlotWidget()

getClassName

public java.lang.String getClassName()
Description copied from class: vtkObjectBase
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
getClassName in class vtkInteractorObserver

isA

public int isA(java.lang.String id0)
Description copied from class: vtkObjectBase
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
isA in class vtkInteractorObserver

setXYPlotActor

public void setXYPlotActor(vtkXYPlotActor id0)
Get the XY plot used by this Widget. One is created automatically.


getXYPlotActor

public vtkXYPlotActor getXYPlotActor()
Get the XY plot used by this Widget. One is created automatically.


setEnabled

public void setEnabled(int id0)
Methods for turning the interactor observer on and off.

Overrides:
setEnabled in class vtkInteractorObserver

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkInteractorObserver


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.