public class SurfBugImpl extends AbstractRenderableModelObject implements SurfBug
A SurfBug object is used for writing debug HTML to the
output stream when SurfBug mode is enabled.
PROP_PROCESSORcustomProperties, description, descriptionId, id, info, modelProperties, modificationTime, resourceContainer, title, titleIdPROP_SURFBUG_TYPE, TYPE_IDPROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID| Constructor and Description |
|---|
SurfBugImpl(String id,
ModelPersisterInfo key,
org.dom4j.Document document) |
| Modifier and Type | Method and Description |
|---|---|
Component |
getCurrentComponent()
Return the
Component currently being debugged. |
String |
getSurfBugType() |
String |
getTypeId()
Returns the type id of the model object.
|
boolean |
hasBeenDebugged(Component object)
Indicates whether or not the supplied
Component has already been debugged. |
void |
setCurrentComponent(Component component)
Set the
Component currently being debugged. |
void |
setSurfBugType(String surfbugType) |
getProcessorId, getProcessorId, getProcessorProperties, getProcessorProperties, getProcessorProperty, getProcessorProperty, getRenderModesaddResource, addResource, getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModificationTime, getPersisterId, getProperties, getProperty, getResource, getResourceContainer, getResources, getResourcesMap, getStoragePath, getTitle, getTitleId, isCustomProperty, isModelProperty, isSaved, removeCustomProperty, removeModelProperty, removeProperty, removeResource, setCustomProperty, setDescription, setDescriptionId, setId, setModelProperty, setModificationTime, setProperty, setTitle, setTitleId, toString, touch, toXML, updateResource, updateXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModificationTime, getPersisterId, getProperties, getProperty, getStoragePath, getTitle, getTitleId, isSaved, removeCustomProperty, removeModelProperty, removeProperty, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setProperty, setTitle, setTitleId, touch, toXMLpublic SurfBugImpl(String id, ModelPersisterInfo key, org.dom4j.Document document)
public String getTypeId()
ModelObjectgetTypeId in interface ModelObjectgetTypeId in class AbstractModelObjectpublic String getSurfBugType()
getSurfBugType in interface SurfBugpublic void setSurfBugType(String surfbugType)
setSurfBugType in interface SurfBugpublic void setCurrentComponent(Component component)
Set the Component currently being debugged.
setCurrentComponent in interface SurfBugcomponent - Componentpublic boolean hasBeenDebugged(Component object)
Indicates whether or not the supplied Component has already been debugged.
This will return true if the supplied Component matches the
currentComponent instance variable.
hasBeenDebugged in interface SurfBugobject - booleanpublic Component getCurrentComponent()
Return the Component currently being debugged.
getCurrentComponent in interface SurfBugCopyright © 2005–2016 Alfresco Software. All rights reserved.