public class TriggerRedstoneInput extends BCTrigger
icon, uniqueTag| Constructor and Description |
|---|
TriggerRedstoneInput(boolean active) |
| Modifier and Type | Method and Description |
|---|---|
ITriggerParameter |
createParameter(int index)
Create parameters for the trigger.
|
java.lang.String |
getDescription()
Return the trigger description in the UI
|
int |
getIconIndex() |
boolean |
isTriggerActive(IGate gate,
ITriggerParameter[] parameters) |
int |
maxParameters()
Return the maximum number of parameter this trigger can have, 0 if none.
|
isTriggerActivegetIcon, getUniqueTag, minParameters, registerIcons, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIcon, getUniqueTag, minParameters, registerIcons, rotateLeftpublic java.lang.String getDescription()
IStatementgetDescription in interface IStatementgetDescription in class BCStatementpublic ITriggerParameter createParameter(int index)
IStatementcreateParameter in interface IStatementcreateParameter in class BCTriggerpublic int maxParameters()
IStatementmaxParameters in interface IStatementmaxParameters in class BCStatementpublic boolean isTriggerActive(IGate gate, ITriggerParameter[] parameters)
isTriggerActive in interface ITriggerisTriggerActive in class BCTriggerpublic int getIconIndex()
getIconIndex in class BCStatement