|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pfsw.joi.ElementFilter
public class ElementFilter
With instances of this object filters for the elements to be displayed can be defined.
Field Summary | |
---|---|
static int |
DEFAULT
|
static int |
FINAL
|
static int |
PRIVATE
|
static int |
PROTECTED
|
static int |
PUBLIC
|
static int |
STATIC
|
static int |
TRANSIENT
|
Constructor Summary | |
---|---|
ElementFilter(int initialFilter)
Initialize the new instance with default values. |
|
ElementFilter(int initialFilter,
boolean defFlag)
Initialize the new instance with default values. |
Method Summary | |
---|---|
ElementFilter |
copy()
Returns a copy of this element filter |
protected boolean |
getDefaultFlag()
|
protected int |
getModifiers()
|
boolean |
isDefaultSet()
Returns whether or not the switch to filter default visibility is set |
protected boolean |
isDefaultVisibility(int theModifiers)
|
boolean |
isFinalSet()
Returns whether or not the switch for 'final' is set |
protected boolean |
isFlagSet(int flag)
Returns whether or not the switch to filter default visibility is set |
boolean |
isPrivateSet()
Returns whether or not the switch to filter private visibility is set |
boolean |
isProtectedSet()
Returns whether or not the switch to filter protected visibility is set |
boolean |
isPublicSet()
Returns whether or not the switch to filter public visibility is set |
boolean |
isStaticSet()
Returns whether or not the switch for 'static' is set |
boolean |
isTransientSet()
Returns whether or not the switch for 'transient' is set |
boolean |
matchesAny(int mod)
Returns true, if any bit in the given mod is also set in this element filter. |
protected void |
setDefaultFlag(boolean newValue)
|
protected void |
setModifiers(int newValue)
|
void |
toggleSwitch(int filterFlag)
Toggle the filter flag specified by the given value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT
public static final int STATIC
public static final int FINAL
public static final int TRANSIENT
public static final int PUBLIC
public static final int PRIVATE
public static final int PROTECTED
Constructor Detail |
---|
public ElementFilter(int initialFilter)
public ElementFilter(int initialFilter, boolean defFlag)
Method Detail |
---|
protected int getModifiers()
protected void setModifiers(int newValue)
protected boolean getDefaultFlag()
protected void setDefaultFlag(boolean newValue)
public boolean matchesAny(int mod)
public void toggleSwitch(int filterFlag)
public boolean isTransientSet()
public boolean isStaticSet()
public boolean isFinalSet()
public boolean isDefaultSet()
public boolean isPublicSet()
public boolean isProtectedSet()
public boolean isPrivateSet()
public ElementFilter copy()
protected boolean isFlagSet(int flag)
protected boolean isDefaultVisibility(int theModifiers)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |