|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pf.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 |
boolean |
isDefaultSet()
Returns whether or not the switch to filter default visibility is set |
boolean |
isFinalSet()
Returns whether or not the switch for 'final' 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. |
void |
toggleSwitch(int filterFlag)
Toggle the filter flag specified by the given value |
Methods inherited from class java.lang.Object |
---|
equals, 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 |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |