Class ExplodeCmd
java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.commands.ExplodeCmd
A command which makes the explodes the geometry structure of whatever.
This has positional arguments, but makes use of tagged arguments to work,
specifically the thing:"string"/thing="string" or the
layer:"string"/layer="string"
While tagged arguments do not require a strict position, if both tagged arguments exist
it will check explicit for the thing tagged argument before layer.
And otherwise, if no tagged arguments are provided or tagged arguments that this command
does not check for, it is treated as exploding everything.
Aliases: explode, expl, ex, destruct
Typical Usage:
explode - Explodes All Things in All layers
expl thing:"Cube" - Explodes the Thing labelled "Cube"
explode layer:"l" - Explodes All the Things in the layer "l"
explode layer:"a" thing="b" - Explodes the Thing labelled "b"
- Author:
- Lehlogonolo Poole
- See Also:
-
Field Summary
Fields inherited from class com.j3d.engine.interact.cmd.base.Command
aliases, args, description, usages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddHistory(String operation) private voidprivate voidexplode(SafeJLabel logLabel, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs) private voidprivate voidvoidrun(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.base.Command
addNoArgUsage, aliases, aliasStream, args, dispatchToSubcommands, getUsages, hasNoArgs, parseUsages, usages, varTaggedArgs
-
Constructor Details
-
ExplodeCmd
public ExplodeCmd()
-
-
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. -
explode
-
explodeAll
private void explodeAll() -
explode
-
explode
-
addHistory
-