Package com.pixelmed.dicom
Class FunctionalGroupUtilities.Selector
- java.lang.Object
-
- com.pixelmed.dicom.FunctionalGroupUtilities.Selector
-
- Enclosing class:
- FunctionalGroupUtilities
public static class FunctionalGroupUtilities.Selector extends java.lang.ObjectA class to select which functional groups are copied or propagated or removed or not during operations on functional groups.
-
-
Field Summary
Fields Modifier and Type Field Description booleanframecontentbooleanspatialbooleanunclassified
-
Constructor Summary
Constructors Constructor Description Selector(boolean allSelected)Construct a selector with all functional groups selected or not selected.Selector(java.lang.String[] arg, java.util.ArrayList<java.lang.String> remainder)Construct a selector with only functional groups named in arguments selected.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetAll(boolean setting)Set all selectors to the specified setting.
-
-
-
Constructor Detail
-
Selector
public Selector(boolean allSelected)
Construct a selector with all functional groups selected or not selected.
- Parameters:
allSelected- true if all functional groups are selected rather than not selected on construction
-
Selector
public Selector(java.lang.String[] arg, java.util.ArrayList<java.lang.String> remainder)Construct a selector with only functional groups named in arguments selected.
Used to decode selectors from command line arguments.
Strings recognized are -all|-spatial|-framecontent|-unclassified.
- Parameters:
arg- command line argumentsremainder- empty list to add remaining command line arguments after anything used was removed
-
-