Class QuickTranslateCmd
java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.args.Subcommand
com.j3d.engine.interact.cmd.commands.transform.qtrans.QuickTranslateCmd
- All Implemented Interfaces:
Argument,SemiStatefulCommand,StatefulCommand<Void>
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe UUID which the orbit command uses to identify stuff registered by it. i.e. events or keybindsstatic QTranslateMouseOwnerThe mouse owner forQuickTranslateCmdto functionFields inherited from class com.j3d.engine.interact.cmd.base.Command
aliases, args, description, usages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup(SafeJLabel label) voidonEnter(Void object, SafeJLabel label) Called when the 'Enter' key is pressed.voidonEsc(Void object, SafeJLabel label) Called when the 'Escape' key is pressed.voidonStart(Void object, SafeJLabel label) Called when the command is first started.voidrun(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs) The method to be overridden by subclasses to implement command functionality.Methods inherited from class com.j3d.engine.interact.cmd.args.Subcommand
getDescription, getName, isOptionalMethods inherited from class com.j3d.engine.interact.cmd.base.Command
addNoArgUsage, aliases, aliasStream, args, dispatchToSubcommands, getUsages, hasNoArgs, parseUsages, usages, varTaggedArgsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.j3d.engine.interact.cmd.base.SemiStatefulCommand
fireMethods inherited from interface com.j3d.engine.interact.cmd.base.StatefulCommand
run, run
-
Field Details
-
qTranslateMouseOwner
The mouse owner forQuickTranslateCmdto function -
qTransCmdUUID
The UUID which the orbit command uses to identify stuff registered by it. i.e. events or keybinds -
objectOriginalPosiions
-
pointsToTransform
-
-
Constructor Details
-
QuickTranslateCmd
public QuickTranslateCmd()
-
-
Method Details
-
run
public void run(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs) Description copied from class:CommandThe method to be overridden by subclasses to implement command functionality. -
onStart
Description copied from interface:StatefulCommandCalled when the command is first started.- Specified by:
onStartin interfaceStatefulCommand<Void>- Parameters:
object- The object that the command operates on.label- The SafeJLabel instance.
-
cleanup
-
onEnter
Description copied from interface:StatefulCommandCalled when the 'Enter' key is pressed.- Specified by:
onEnterin interfaceStatefulCommand<Void>- Parameters:
object- The object that the command operates on.label- The SafeJLabel instance.
-
onEsc
Description copied from interface:StatefulCommandCalled when the 'Escape' key is pressed.- Specified by:
onEscin interfaceStatefulCommand<Void>- Parameters:
object- The object that the command operates on.label- The SafeJLabel instance.
-