Class ToggleCmd
java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.args.Subcommand
com.j3d.engine.interact.cmd.commands.uicmd.ToggleCmd
- All Implemented Interfaces:
Argument
A subcommand of
UICmd which toggles the visibility of various UI floating panels.
It provides a required argument that specifies which floating panel to toggle.
Aliases: t, tog
Typical Usage:
ui toggle layers - Toggles the visibility of the Layer Tree panel.
gui t history - Toggles the visibility of the History panel.
swing toggle debug - Toggles the visibility of the Debug panel.
- Author:
- Lehlogonolo Poole
- See Also:
-
Field Summary
FieldsFields inherited from class com.j3d.engine.interact.cmd.base.Command
aliases, args, description, usages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(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, varTaggedArgs
-
Field Details
-
argSet
ArgSet argSet
-
-
Constructor Details
-
ToggleCmd
public ToggleCmd()
-
-
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.
-