DRCL J-Sim API

drcl.comp.tool
Class DotDump2

java.lang.Object
  extended bydrcl.comp.tool.DotDump
      extended bydrcl.comp.tool.DotDump2
All Implemented Interfaces:
java.lang.Runnable

public class DotDump2
extends DotDump

This class adds "blocking" capability to DotDump. The internal structure of the classes being blocked are not shown when the graph is rendered.


Field Summary
 
Fields inherited from class drcl.comp.tool.DotDump
INDENT, REAL_CONNECTION_COLOR, SHADOW_CONNECTION_COLOR
 
Constructor Summary
DotDump2()
           
DotDump2(Component root_)
           
 
Method Summary
 void block(java.lang.Object o)
          Don't show the internal structure of the components of the same class.
 void block(java.lang.String className_)
          Don't show the internal structure of the components of the same class.
 java.lang.String info()
           
 boolean isShowHiddenEnabled()
           
 boolean isShowInfoPortEnabled()
           
static void main(java.lang.String[] args)
           
 void pass(java.lang.Object o)
          Adds the object to the "pass" list.
 void pass(java.lang.Object[] oo)
          Adds the objects to the "pass" list.
 void removePass(java.lang.Object o)
          Removes the object from the "pass" list.
 void removePass(java.lang.Object[] oo)
          Removes the objects from the "pass" list.
 void resetPass()
          Clears the "pass" list.
 void setShowHiddenEnabled(boolean s)
          Enables/disables showing the hidden components/ports.
 void setShowInfoPortEnabled(boolean s)
          Enables/disables showing the InfoPorts.
 void unblock(java.lang.Object o)
          Show the internal structure of the components of the same class.
 void unblock(java.lang.String className_)
          Show the internal structure of the components of the same class.
 void unblockAll()
          Removes any blocked classes.
 
Methods inherited from class drcl.comp.tool.DotDump
createComponentImage, dumpComponents, example, getRoot, isShowBarePortEnabled, isShowRootEnabled, reset, run, setRoot, setShowBarePortEnabled, setShowRootEnabled, show, showing, showing, toFile
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotDump2

public DotDump2()

DotDump2

public DotDump2(Component root_)
Method Detail

setShowHiddenEnabled

public void setShowHiddenEnabled(boolean s)
Enables/disables showing the hidden components/ports. This flag does not apply to "InfoPort". Default is off.


isShowHiddenEnabled

public boolean isShowHiddenEnabled()

setShowInfoPortEnabled

public void setShowInfoPortEnabled(boolean s)
Enables/disables showing the InfoPorts. Default is off.


isShowInfoPortEnabled

public boolean isShowInfoPortEnabled()

block

public void block(java.lang.Object o)
Don't show the internal structure of the components of the same class.


unblock

public void unblock(java.lang.Object o)
Show the internal structure of the components of the same class.


block

public void block(java.lang.String className_)
Don't show the internal structure of the components of the same class.


unblock

public void unblock(java.lang.String className_)
Show the internal structure of the components of the same class.


unblockAll

public void unblockAll()
Removes any blocked classes.


pass

public void pass(java.lang.Object o)
Adds the object to the "pass" list. The components in the list are shown no matter what flags are set.


pass

public void pass(java.lang.Object[] oo)
Adds the objects to the "pass" list. The components in the list are shown no matter what flags are set.


removePass

public void removePass(java.lang.Object o)
Removes the object from the "pass" list.


removePass

public void removePass(java.lang.Object[] oo)
Removes the objects from the "pass" list.


resetPass

public void resetPass()
Clears the "pass" list.


info

public java.lang.String info()
Overrides:
info in class DotDump

main

public static void main(java.lang.String[] args)

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~