Package jmri.jmrit.logixng
Interface Debugable
-
- All Superinterfaces:
Base
,PropertyChangeProvider
- All Known Subinterfaces:
MaleAnalogActionSocket
,MaleAnalogExpressionSocket
,MaleDigitalActionSocket
,MaleDigitalBooleanActionSocket
,MaleDigitalExpressionSocket
,MaleSocket
,MaleStringActionSocket
,MaleStringExpressionSocket
- All Known Implementing Classes:
AbstractDebuggerMaleSocket
,AbstractMaleSocket
,DebuggerMaleAnalogActionSocket
,DebuggerMaleAnalogExpressionSocket
,DebuggerMaleDigitalActionSocket
,DebuggerMaleDigitalBooleanActionSocket
,DebuggerMaleDigitalExpressionSocket
,DebuggerMaleStringActionSocket
,DebuggerMaleStringExpressionSocket
,DefaultMaleAnalogActionSocket
,DefaultMaleAnalogExpressionSocket
,DefaultMaleDigitalActionSocket
,DefaultMaleDigitalBooleanActionSocket
,DefaultMaleDigitalExpressionSocket
,DefaultMaleStringActionSocket
,DefaultMaleStringExpressionSocket
,ModuleEditorMaleSocket
public interface Debugable extends Base
A LogixNG item that is debugable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Debugable.DebugConfig
Debug configuration for this male socket.-
Nested classes/interfaces inherited from interface jmri.jmrit.logixng.Base
Base.PrintTreeSettings, Base.RunnableWithBase, Base.RunnableWithBaseThrowException
-
-
Field Summary
-
Fields inherited from interface jmri.jmrit.logixng.Base
PRINT_LINE_NUMBERS_FORMAT, PROPERTY_CHILD_COUNT, PROPERTY_CHILD_REORDER, PROPERTY_LAST_RESULT_CHANGED, PROPERTY_SOCKET_CONNECTED, PROPERTY_SOCKET_DISCONNECTED, SEPARATOR, SOCKET_CONNECTED, SOCKET_DISCONNECTED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Debugable.DebugConfig
createDebugConfig()
Create a debug configuration for this male socket.Debugable.DebugConfig
getDebugConfig()
Get the debug configuration for this male socket.void
setDebugConfig(Debugable.DebugConfig config)
Set the debug configuration for this male socket.-
Methods inherited from interface jmri.jmrit.logixng.Base
addPropertyChangeListener, addPropertyChangeListener, deepCopyChildren, dispose, doSocketOperation, existsInTree, forEntireTree, forEntireTreeWithException, getCategory, getChild, getChildCount, getComment, getConditionalNG, getDeepCopy, getListenerRef, getListenerRefs, getListenerRefsIncludingChildren, getLogixNG, getLongDescription, getLongDescription, getModule, getNumPropertyChangeListeners, getParent, getPropertyChangeListenersByReference, getRoot, getShortDescription, getShortDescription, getSystemName, getUsageDetail, getUsageTree, getUserName, hasChild, isActive, isEnabled, isSocketOperationAllowed, printTree, printTree, printTree, printTree, printTree, registerListeners, setComment, setParent, setParentForAllChildren, setup, setUserName, unregisterListeners, updateListenerRef, vetoableChange
-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Method Detail
-
setDebugConfig
void setDebugConfig(Debugable.DebugConfig config)
Set the debug configuration for this male socket.Each implementation of MaleSocket has their own implementation of DebugConfig. Use reflection to get the proper class <package-name>.debug.<ClassName>Debug that returns a JPanel that can configure debugging for this male socket.
- Parameters:
config
- the new configuration or null to turn off debugging
-
getDebugConfig
Debugable.DebugConfig getDebugConfig()
Get the debug configuration for this male socket.- Returns:
- the configuration or null if debugging is turned off for this male socket
-
createDebugConfig
Debugable.DebugConfig createDebugConfig()
Create a debug configuration for this male socket.- Returns:
- the new configuration
-
-