edu.indiana.iucbrf.ccbr.conversationblock
Class InstructionImpl
java.lang.Object
edu.indiana.iucbrf.ccbr.conversationblock.InstructionImpl
- All Implemented Interfaces:
- ConversationBlock, Instruction, SwingRepresentable, java.io.Serializable
public class InstructionImpl
- extends java.lang.Object
- implements Instruction
An Instruction is a presentation of information, with no request for input.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
text
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
text
protected java.lang.String text
InstructionImpl
protected InstructionImpl()
InstructionImpl
public InstructionImpl(java.lang.String text)
- Creates a new instance of Instruction
getFeatureInputPanel
public FeatureInputPanel getFeatureInputPanel(CCBRDomain domain,
boolean allowUnknowns)
- Specified by:
getFeatureInputPanel
in interface ConversationBlock
getButtonText
public java.lang.String getButtonText()
- Specified by:
getButtonText
in interface ConversationBlock
getText
public java.lang.String getText()
- Specified by:
getText
in interface ConversationBlock
toSwing
public javax.swing.JComponent toSwing(int detailLevel)
- Detail level may be ignored by implementations.
If used, the standard is for detailLevel 0 to be least detail, with higher values growing more detailed.
0 is least detail, higher numbers are more
- Specified by:
toSwing
in interface SwingRepresentable