vtk
Class vtkOutputWindow

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkOutputWindow
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
vtkFileOutputWindow

public class vtkOutputWindow
extends vtkObject
implements java.io.Serializable

vtkOutputWindow - base class for writing debug output to a console. This class is used to encapsulate all text output, so that it will work with operating systems that have a stdout and stderr, and ones that do not. (i.e windows does not). Sub-classes can be provided which can redirect the output to a window. JavaBean wrapper for vtkOutputWindow 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
  vtkOutputWindow()
           
protected vtkOutputWindow(int dmy)
           
 
Method Summary
 void displayDebugText(java.lang.String id0)
           
 void displayErrorText(java.lang.String id0)
          Display the text.
 void displayGenericWarningText(java.lang.String id0)
          Display the text.
 void displayText(java.lang.String id0)
          Display the text.
 void displayWarningText(java.lang.String id0)
          Display the text.
 java.lang.String getClassName()
          Return the class name as a string.
 vtkOutputWindow getInstance()
          Return the singleton instance with no reference counting.
 vtkOutputWindow getThisOutputWindow()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void promptUserOff()
          If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
 void promptUserOn()
          If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
 void setInstance(vtkOutputWindow id0)
          Supply a user defined output window.
 void setPromptUser(int id0)
          If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
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

vtkOutputWindow

public vtkOutputWindow()

vtkOutputWindow

protected vtkOutputWindow(int dmy)
Method Detail

getThisOutputWindow

public vtkOutputWindow getThisOutputWindow()

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 vtkObject

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 vtkObject

getInstance

public vtkOutputWindow getInstance()
Return the singleton instance with no reference counting.


setInstance

public void setInstance(vtkOutputWindow id0)
Supply a user defined output window. Call ->Delete() on the supplied instance after setting it.


displayText

public void displayText(java.lang.String id0)
Display the text. Four virtual methods exist, depending on the type of message to display. This allows redirection or reformatting of the messages. The default implementation uses DisplayText for all.


displayErrorText

public void displayErrorText(java.lang.String id0)
Display the text. Four virtual methods exist, depending on the type of message to display. This allows redirection or reformatting of the messages. The default implementation uses DisplayText for all.


displayWarningText

public void displayWarningText(java.lang.String id0)
Display the text. Four virtual methods exist, depending on the type of message to display. This allows redirection or reformatting of the messages. The default implementation uses DisplayText for all.


displayGenericWarningText

public void displayGenericWarningText(java.lang.String id0)
Display the text. Four virtual methods exist, depending on the type of message to display. This allows redirection or reformatting of the messages. The default implementation uses DisplayText for all.


displayDebugText

public void displayDebugText(java.lang.String id0)

promptUserOn

public void promptUserOn()
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.


promptUserOff

public void promptUserOff()
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.


setPromptUser

public void setPromptUser(int id0)
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkObject


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.