Package com.macrofocus.command
Class AbstractUICommand
- java.lang.Object
-
- com.macrofocus.command.AbstractUICommand
-
-
Constructor Summary
Constructors Constructor Description AbstractUICommand(MutableProperty<java.lang.String> titleProperty)
AbstractUICommand(MutableProperty<java.lang.String> titleProperty, MutableProperty<java.lang.Boolean> enabledProperty)
AbstractUICommand(MutableProperty<java.lang.String> titleProperty, MutableProperty<java.lang.Boolean> enabledProperty, Property<java.lang.String> keystrokeProperty, Property<java.lang.String> mnemonicProperty, Property<java.lang.Object> iconProperty)
AbstractUICommand(MutableProperty<java.lang.String> titleProperty, Property<java.lang.String> keystrokeProperty)
AbstractUICommand(MutableProperty<java.lang.String> titleProperty, java.lang.String keystroke)
AbstractUICommand(java.lang.String title)
AbstractUICommand(java.lang.String title, java.lang.String keystroke)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableProperty<java.lang.Boolean>
enabledProperty()
Property<java.lang.Object>
iconProperty()
Property<java.lang.String>
keystrokeProperty()
Property<java.lang.String>
mnemonicProperty()
MutableProperty<java.lang.String>
titleProperty()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AbstractUICommand
public AbstractUICommand(java.lang.String title)
-
AbstractUICommand
public AbstractUICommand(java.lang.String title, java.lang.String keystroke)
-
AbstractUICommand
public AbstractUICommand(MutableProperty<java.lang.String> titleProperty)
-
AbstractUICommand
public AbstractUICommand(MutableProperty<java.lang.String> titleProperty, Property<java.lang.String> keystrokeProperty)
-
AbstractUICommand
public AbstractUICommand(MutableProperty<java.lang.String> titleProperty, java.lang.String keystroke)
-
AbstractUICommand
public AbstractUICommand(MutableProperty<java.lang.String> titleProperty, MutableProperty<java.lang.Boolean> enabledProperty)
-
AbstractUICommand
public AbstractUICommand(MutableProperty<java.lang.String> titleProperty, MutableProperty<java.lang.Boolean> enabledProperty, Property<java.lang.String> keystrokeProperty, Property<java.lang.String> mnemonicProperty, Property<java.lang.Object> iconProperty)
-
-
Method Detail
-
titleProperty
public MutableProperty<java.lang.String> titleProperty()
- Specified by:
titleProperty
in interfaceUICommand
-
enabledProperty
public MutableProperty<java.lang.Boolean> enabledProperty()
- Specified by:
enabledProperty
in interfaceUICommand
-
keystrokeProperty
public Property<java.lang.String> keystrokeProperty()
- Specified by:
keystrokeProperty
in interfaceUICommand
-
mnemonicProperty
public Property<java.lang.String> mnemonicProperty()
- Specified by:
mnemonicProperty
in interfaceUICommand
-
iconProperty
public Property<java.lang.Object> iconProperty()
- Specified by:
iconProperty
in interfaceUICommand
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-