java.lang.Object
de.zocher_regel.util.Cmd
- Alle implementierten Schnittstellen:
KeyAble
A command (normally a setting selected from the Menu) with its parameters.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungA command consists of a keyAble and parameters.Some commands have a source and target path as parameters.Some commands have a source and target path as parameters.key()Get the command without parameters.name()The implementation, e. g. enum UtilSetting, has this method to return the name of the enum instance (e. g.voidsetSourcePath(Path sourcePath) The command may have a source and target path parameter.voidsetTargetPath(Path targetPath) The command may have a source and target path parameter.toString()Get the name of the command and its optional parameters asVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden de.zocher_regel.util.KeyAble
checkValueType, getDefault, isInvisible, keyWithPlaceholders, msgParmsCount
-
Konstruktordetails
-
Cmd
Construct a Cmd that has no parms.- Parameter:
keyAble- The menu command (@see Setting)
-
-
Methodendetails
-
key
Get the command without parameters. -
getKeyAble
A command consists of a keyAble and parameters.- Gibt zurück:
- the key in the KeyAble
-
name
Beschreibung aus Schnittstelle kopiert:KeyAbleThe implementation, e. g. enum UtilSetting, has this method to return the name of the enum instance (e. g. BeepLevel) without package name. -
getSourcePath
Some commands have a source and target path as parameters.- Gibt zurück:
- the sourcePath parameter
-
getTargetPath
Some commands have a source and target path as parameters.- Gibt zurück:
- the targetPath parameter
-
setSourcePath
The command may have a source and target path parameter.- Parameter:
sourcePath- to be assigned to this command
-
setTargetPath
The command may have a source and target path parameter.- Parameter:
targetPath- to be assigned to this command
-
toString
Get the name of the command and its optional parameters as
-