|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.LODHighlighter
public class LODHighlighter
This class provides methods for highlighting nodes dynamicly.
Field Summary | |
---|---|
static int |
ANCESTORS
All ancestors of a person. |
static int |
MATERNAL
Maternal lineage of a person. |
static int |
MATERNAL_AND_PATERNAL
Maternal and paternal lineage of a person. |
static int |
PATERNAL
Paternal lineage of a person. |
static int |
SUCCESSORS
All successors of a person. |
static int |
SUCCESSORS_AND_ANCESTORS
All successors and ancestors of a person. |
Constructor Summary | |
---|---|
LODHighlighter()
Creates a new LODHighlighter object. |
|
LODHighlighter(int mode)
Create a new LODHighlighter object with the given mode. |
Method Summary | |
---|---|
int |
getMode()
Returns the mode. |
boolean |
isEnabled()
Returns true, if the highlighter is enabled. |
void |
onNodeEvent(NodeEvent event)
|
void |
setEnabled(boolean enabled)
Enables or disables the highlighter. |
void |
setMode(int mode)
Sets the mode. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MATERNAL
public static final int PATERNAL
public static final int MATERNAL_AND_PATERNAL
public static final int SUCCESSORS
public static final int ANCESTORS
public static final int SUCCESSORS_AND_ANCESTORS
Constructor Detail |
---|
public LODHighlighter()
public LODHighlighter(int mode)
mode
- Method Detail |
---|
public void onNodeEvent(NodeEvent event)
onNodeEvent
in interface NodeListener
public int getMode()
public void setMode(int mode)
mode
- the mode.public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |