private class AbstractUiWidgetNative.VisibleFlag extends AbstractFlagAdvanced
Constructor and Description |
---|
VisibleFlag()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getFlag()
This method reads the flag value.
|
boolean |
getFlag(FlagModifier modifier)
This method gets the value of the flag for the given
FlagModifier . |
void |
setFlag(boolean flag,
FlagModifier modifier)
This method sets the
flag for the given FlagModifier . |
public boolean getFlag()
true
for all FlagModifier
s.getFlag
in interface AttributeReadFlag
getFlag
in interface AttributeReadFlagAdvanced
getFlag
in class AbstractFlagAdvanced
true
if all aggregated flags
are true
and all parents have the same flag set to true
.public boolean getFlag(FlagModifier modifier)
FlagModifier
. getFlag
in interface AttributeReadFlagAdvanced
getFlag
in class AbstractFlagAdvanced
modifier
- is the FlagModifier
. May be null
for the default modifier.FlagModifier
. Will be true
if it has never been set
for the given FlagModifier
.public void setFlag(boolean flag, FlagModifier modifier)
flag
for the given FlagModifier
.setFlag
in interface AttributeWriteFlagAdvanced
setFlag
in class AbstractFlagAdvanced
flag
- is the new value of flag
.modifier
- is the FlagModifier
. May be null
for the default modifier.Copyright © 2001–2016 mmm-Team. All rights reserved.