public class DebugSettings extends Object implements DebugSettingsMBean
Constructor and Description |
---|
DebugSettings(Application application)
Create.
|
Modifier and Type | Method and Description |
---|---|
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 |
isOutputComponentPath() |
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 |
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 |
setOutputComponentPath(boolean enabled)
If set to
true wicket will output component path in a wicket:path
attribute of the component tag. |
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 setOutputComponentPath(boolean enabled)
DebugSettingsMBean
true
wicket will output component path in a wicket:path
attribute of the component tag. This can be useful for debugging and automating tests.setOutputComponentPath
in interface DebugSettingsMBean
DebugSettingsMBean.setOutputComponentPath(boolean)
public boolean isOutputComponentPath()
isOutputComponentPath
in interface DebugSettingsMBean
true
if output component path feature is enabled, false
otherwiseDebugSettingsMBean.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–2021 Apache Software Foundation. All rights reserved.