|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.UCL.satin.arch.components.Component edu.UCL.satin.impl.Debug.Debug
Field Summary | |
protected boolean |
debug
|
Fields inherited from class edu.UCL.satin.arch.components.Component |
immutable, properties |
Fields inherited from interface edu.UCL.satin.arch.facets.ComponentFacet |
DISABLED, ENABLED |
Constructor Summary | |
Debug()
|
Method Summary | |
java.io.PrintStream |
getPrintStream()
|
boolean |
isEnabled()
Checks whether this component is enabled or not. |
void |
print(java.lang.String msg,
java.lang.Object source)
|
void |
setEnabled(boolean enabled)
Enables or disables the component |
Methods inherited from class edu.UCL.satin.arch.components.Component |
addAttribute, construct, destroy, getAttribute, getProperties, hasAttribute, match, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.UCL.satin.arch.facets.ComponentFacet |
addAttribute, construct, destroy, getAttribute, getProperties, hasAttribute |
Field Detail |
protected boolean debug
Constructor Detail |
public Debug()
Method Detail |
public void print(java.lang.String msg, java.lang.Object source)
print
in interface DebugFacet
public java.io.PrintStream getPrintStream()
getPrintStream
in interface DebugFacet
public boolean isEnabled()
ComponentFacet
isEnabled
in interface ComponentFacet
isEnabled
in class Component
public void setEnabled(boolean enabled)
ComponentFacet
setEnabled
in interface ComponentFacet
setEnabled
in class Component
enabled
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |