Class QtSvg.Options
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QtSvg.Options>
- Enclosing class:
QtSvg
public static final class QtSvg.Options
extends QFlags<QtSvg.Option>
implements Comparable<QtSvg.Options>
QFlags type for enum QtSvg.Option- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOptions()Creates a new Options.Options(int value) Creates a new Options with givenvalue.Options(QtSvg.Option ... args) Creates a new Options where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QtSvg.Optionsclone()Clones the flagsfinal QtSvg.OptionsCombines this flags with enum entry.final intcompareTo(QtSvg.Options other) final QtSvg.Option []flags()Returns an array of flag objects represented by this Options.final QtSvg.OptionsSets the flagefinal QtSvg.OptionssetFlag(QtSvg.Option e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
Options
public Options()Creates a new Options. -
Options
Creates a new Options where the flags inargsare set.- Parameters:
args- enum entries
-
Options
public Options(int value) Creates a new Options with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QtSvg.Option>- Parameters:
e- enum entry- Returns:
- new Options
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QtSvg.Option>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QtSvg.Option>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this Options.- Overrides:
flagsin classQFlags<QtSvg.Option>- Returns:
- array of enum entries
-
clone
-
compareTo
- Specified by:
compareToin interfaceComparable<QtSvg.Options>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value- new value
-