Class NodeInfoPanelController
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.AbstractController<MainDesignerController>
-
- net.sourceforge.pmd.util.fxdesigner.NodeInfoPanelController
-
- All Implemented Interfaces:
javafx.fxml.Initializable
,ApplicationComponent
,NodeSelectionSource
,SettingsOwner
public class NodeInfoPanelController extends AbstractController<MainDesignerController> implements NodeSelectionSource
Controller of the node info panel (left).- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.util.fxdesigner.app.AbstractController
parent
-
-
Constructor Summary
Constructors Constructor Description NodeInfoPanelController(MainDesignerController mainController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
beforeParentInit()
Executed before the parent's initialization.java.lang.String
getDebugName()
A debug name for this component, used in developer mode to e.g.org.reactfx.value.Var<java.lang.Boolean>
hideCommonAttributesProperty()
boolean
isHideCommonAttributes()
void
setFocusNode(net.sourceforge.pmd.lang.ast.Node node)
Displays info about a node.void
setHideCommonAttributes(boolean bool)
-
Methods inherited from class net.sourceforge.pmd.util.fxdesigner.app.AbstractController
afterChildrenInit, afterParentInit, getChildren, getChildrenSettingsNodes, getDesignerRoot, initialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.app.ApplicationComponent
getDesignerRoot, getLogger, getMainStage, isDeveloperMode, logInternalDebugInfo, logInternalException, logMessageTrace, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.app.NodeSelectionSource
initNodeSelectionHandling
-
-
-
-
Constructor Detail
-
NodeInfoPanelController
public NodeInfoPanelController(MainDesignerController mainController)
-
-
Method Detail
-
beforeParentInit
protected void beforeParentInit()
Description copied from class:AbstractController
Executed before the parent's initialization. Always executed once at the start of the initialization of this controller.- Overrides:
beforeParentInit
in classAbstractController<MainDesignerController>
-
setFocusNode
public void setFocusNode(net.sourceforge.pmd.lang.ast.Node node)
Displays info about a node. If null, the panels are reset.- Specified by:
setFocusNode
in interfaceNodeSelectionSource
- Parameters:
node
- Node to inspect
-
isHideCommonAttributes
public boolean isHideCommonAttributes()
-
setHideCommonAttributes
public void setHideCommonAttributes(boolean bool)
-
hideCommonAttributesProperty
public org.reactfx.value.Var<java.lang.Boolean> hideCommonAttributesProperty()
-
getDebugName
public java.lang.String getDebugName()
Description copied from interface:ApplicationComponent
A debug name for this component, used in developer mode to e.g. trace events handling paths.- Specified by:
getDebugName
in interfaceApplicationComponent
-
-