public class DebugSettings extends Object implements DebugSettingsMBean
Constructor and Description |
---|
DebugSettings(Application application)
Create.
|
Modifier and Type | Method and Description |
---|---|
String |
getComponentPathAttributeName() |
boolean |
getComponentUseCheck() |
boolean |
isAjaxDebugModeEnabled()
Returns status of ajax debug mode.
|
boolean |
isDevelopmentUtilitiesEnabled()
Are all of the panels and pages, etc, from wicket-devutils package enabled?
|
boolean |
isLinePreciseReportingOnAddComponentEnabled()
Returns status of line precise error reporting for added components that are not present in
the markup: it points to the line where the component was added to the hierarchy in your Java
classes.
|
boolean |
isLinePreciseReportingOnNewComponentEnabled()
Returns status of line precise error reporting for new components that are not present in the
markup: it points to the line where the component was created in your Java classes.
|
boolean |
isOutputMarkupContainerClassName()
Returns whether the output of markup container's should be wrapped by comments containing the
container's class name.
|
void |
setAjaxDebugModeEnabled(boolean enable)
Enables or disables ajax debug mode.
|
void |
setComponentPathAttributeName(String name)
If the parameter value is non-empty then Wicket will use it as the name of an attribute of the
component tag to print the
Component 's path. |
void |
setComponentUseCheck(boolean check)
Sets componentUseCheck debug settings
|
void |
setDevelopmentUtilitiesEnabled(boolean enable)
Enables all of the panels and pages, etc, from wicket-devutils package.
|
void |
setLinePreciseReportingOnAddComponentEnabled(boolean enable)
Enables line precise error reporting for added components that are not present in the markup:
it points to the line where the component was added to the hierarchy in your Java classes.
|
void |
setLinePreciseReportingOnNewComponentEnabled(boolean enable)
Enables line precise error reporting for new components that are not present in the markup:
it points to the line where the component was created in your Java classes.
|
void |
setOutputMarkupContainerClassName(boolean enable)
Enables wrapping output of markup container in html comments that contain markup container's
class name.
|
public DebugSettings(Application application)
application
- public boolean getComponentUseCheck()
getComponentUseCheck
in interface DebugSettingsMBean
DebugSettingsMBean.getComponentUseCheck()
public boolean isAjaxDebugModeEnabled()
DebugSettingsMBean
isAjaxDebugModeEnabled
in interface DebugSettingsMBean
DebugSettingsMBean.isAjaxDebugModeEnabled()
public void setAjaxDebugModeEnabled(boolean enable)
DebugSettingsMBean
setAjaxDebugModeEnabled
in interface DebugSettingsMBean
DebugSettingsMBean.setAjaxDebugModeEnabled(boolean)
public void setComponentUseCheck(boolean check)
DebugSettingsMBean
setComponentUseCheck
in interface DebugSettingsMBean
DebugSettingsMBean.setComponentUseCheck(boolean)
public void setComponentPathAttributeName(String name)
DebugSettingsMBean
Component
's path.setComponentPathAttributeName
in interface DebugSettingsMBean
org.apache.wicket.jmx.DebugSettingsMBean#setComponentPathAttributeName(boolean)
public String getComponentPathAttributeName()
getComponentPathAttributeName
in interface DebugSettingsMBean
ComponentTag
.
If null
or empty then the attribute won't be renderedorg.apache.wicket.jmx.DebugSettingsMBean#isOutputComponentPath()
public void setOutputMarkupContainerClassName(boolean enable)
DebugSettingsMBean
setOutputMarkupContainerClassName
in interface DebugSettingsMBean
DebugSettingsMBean.setOutputMarkupContainerClassName(boolean)
public boolean isOutputMarkupContainerClassName()
DebugSettingsMBean
isOutputMarkupContainerClassName
in interface DebugSettingsMBean
DebugSettingsMBean.isOutputMarkupContainerClassName()
public boolean isLinePreciseReportingOnAddComponentEnabled()
DebugSettingsMBean
isLinePreciseReportingOnAddComponentEnabled
in interface DebugSettingsMBean
DebugSettingsMBean.isLinePreciseReportingOnAddComponentEnabled()
public void setLinePreciseReportingOnAddComponentEnabled(boolean enable)
DebugSettingsMBean
setLinePreciseReportingOnAddComponentEnabled
in interface DebugSettingsMBean
DebugSettingsMBean.setLinePreciseReportingOnAddComponentEnabled(boolean)
public boolean isLinePreciseReportingOnNewComponentEnabled()
DebugSettingsMBean
isLinePreciseReportingOnNewComponentEnabled
in interface DebugSettingsMBean
DebugSettingsMBean.isLinePreciseReportingOnNewComponentEnabled()
public void setLinePreciseReportingOnNewComponentEnabled(boolean enable)
DebugSettingsMBean
setLinePreciseReportingOnNewComponentEnabled
in interface DebugSettingsMBean
DebugSettingsMBean.setLinePreciseReportingOnNewComponentEnabled(boolean)
public void setDevelopmentUtilitiesEnabled(boolean enable)
DebugSettingsMBean
setDevelopmentUtilitiesEnabled
in interface DebugSettingsMBean
DebugSettingsMBean.setDevelopmentUtilitiesEnabled(boolean)
public boolean isDevelopmentUtilitiesEnabled()
DebugSettingsMBean
isDevelopmentUtilitiesEnabled
in interface DebugSettingsMBean
DebugSettingsMBean.isDevelopmentUtilitiesEnabled()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.