public interface MarkMask_ifc
SelectMask
is the standard implementation. A derived class can inheritance
from that class if another superclass isn't necessary. This may be usual for small data classes.
Application |--------->MarkMask_ifc | |<|----Implementor | maybe a table container | |--oData---------->SelectMask_ifc |<|-----------SecondImplementor | maybe an Object which should be selectedThe oData maybe instance of SelectMask_ifc, but maybe another one, depends on the first Implementor.
Modifier and Type | Field and Description |
---|---|
static int |
select
Flags is a simple marker for selecting a node.
|
static int |
select2
Flags is a simple marker for selecting a node.
|
static int |
select2Parent
Flags is a simple marker for selecting a parent node which contains node with
select . |
static int |
selectParent
Flags is a simple marker for selecting a parent node which contains node with
select . |
static int |
version
Version, history and license.
|
Modifier and Type | Method and Description |
---|---|
int |
getMark()
Returns the selection mask of this object.
|
int |
setMarked(int mask,
java.lang.Object data)
Sets the mark bits of the object for the given source.
|
int |
setNonMarked(int mask,
java.lang.Object data)
Removes the mark bits of the object for the given source.
|
static final int version
org.vishia.gral.widget.GralFileSelector
: A selected line is the current one
or some marked lines.
static final int select
static final int selectParent
select
.static final int select2
static final int select2Parent
select
.int getMark()
int setNonMarked(int mask, java.lang.Object data)
mask
- The bit which presents the source.oData
- data which are given with this mark. Maybe the mark should be done
in this data too. It depends on usage and implementation.int setMarked(int mask, java.lang.Object data)
mask
- The bit which presents the source.oData
- data which are given with this mark. Maybe the mark should be done
in this data too. It depends on usage and implementation.