|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.TG_distributome.data.TGViewerPanelInfo
public class TGViewerPanelInfo
Field Summary | |
---|---|
protected SOCREdge[] |
edges
|
Type |
edgeType
|
java.awt.Color[] |
edgeTypeColor
|
protected SOCRFormula[] |
formulas
|
static int |
HideNeighbor
|
static int |
HighlightAsBoth
|
static int |
HighlightAsChild
|
static int |
HighlightAsParent
|
static int |
Highlighted
|
protected int |
nEdges
|
int |
neighbor_level
|
protected int |
nFormulas
|
protected int |
nNodes
|
protected SOCRNode[] |
nodes
|
Type |
nodeType
|
java.awt.Color[] |
nodeTypeColor
|
static int |
Normal
|
static int |
NoShow
|
protected int |
nRefs
|
int |
pickedEdgeIndex
|
int |
pickedNodeIndex
|
protected SOCRReference[] |
refs
|
static int |
ShowBoth
|
static int |
ShowChildren
|
static int |
ShowParent
|
Constructor Summary | |
---|---|
TGViewerPanelInfo(TGViewerApplet graph)
CONSTRUCTOR |
Method Summary | |
---|---|
void |
addEdge(int from,
int to,
int edge_id,
java.lang.String edge_name,
int typeCount,
int[] types,
int edge_formula_id,
int ref_id_count,
int[] ref_ids)
INTERACTION HANDLING METHODS |
void |
addEdge(SOCREdge edge)
|
void |
addFormula(int f_id,
java.lang.String f_density,
java.lang.String f_formula)
|
void |
addFormula(SOCRFormula formula)
|
int |
addNode(int id)
|
void |
addNode(int id,
java.lang.String nodeName,
int typeCount,
int[] types,
int nodeFormulaId,
java.lang.String nodeUrl,
int kw_count,
java.lang.String[] kws,
int refId_count,
int[] refIds)
|
void |
addNode(SOCRNode node)
|
void |
addRef(int id,
int author_count,
java.lang.String[] authors,
java.lang.String year,
java.lang.String title,
java.lang.String journal,
java.lang.String volumeInfo,
java.lang.String url)
|
void |
addRef(SOCRReference ref)
|
int |
countNumberOfEdgeforNodeId(int id)
|
int |
findNodeById(int id)
|
int |
findNodeByName(java.lang.String label)
MEMBER HANDLING METHODS************************************* |
int |
findRefById(int id)
|
SOCRReference |
findRefByIndex(int index)
|
SOCREdge |
getEdge(int index)
|
int |
getEdgeCount()
|
SOCREdge[] |
getEdges()
get edges |
SOCRFormula |
getFormula(int index)
|
int |
getFormulaCount()
|
SOCRNode |
getNode(int index)
|
int |
getNodeCount()
|
SOCRNode[] |
getNodes()
get nodes |
SOCRReference |
getRef(int index)
|
int |
getRefCount()
|
boolean |
isDebug()
|
void |
pickEdge(int id)
|
void |
pickEdge(java.lang.Object o)
|
void |
pickNode(java.lang.String name)
|
void |
setEdges(SOCREdge[] newEdges)
|
void |
setNodes(SOCRNode[] newNodes)
Member and Edge setting/getting - for external class access from TableApplet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NoShow
public static final int Normal
public static final int Highlighted
public static final int HighlightAsParent
public static final int HighlightAsChild
public static final int HighlightAsBoth
public static final int HideNeighbor
public static final int ShowParent
public static final int ShowChildren
public static final int ShowBoth
protected SOCREdge[] edges
protected SOCRNode[] nodes
protected SOCRReference[] refs
protected SOCRFormula[] formulas
protected int nEdges
protected int nNodes
protected int nRefs
protected int nFormulas
public int neighbor_level
public int pickedNodeIndex
public int pickedEdgeIndex
public Type nodeType
public java.awt.Color[] nodeTypeColor
public java.awt.Color[] edgeTypeColor
public Type edgeType
Constructor Detail |
---|
public TGViewerPanelInfo(TGViewerApplet graph)
graph
- Method Detail |
---|
public void addNode(int id, java.lang.String nodeName, int typeCount, int[] types, int nodeFormulaId, java.lang.String nodeUrl, int kw_count, java.lang.String[] kws, int refId_count, int[] refIds)
public int addNode(int id)
public void addNode(SOCRNode node)
public void addEdge(int from, int to, int edge_id, java.lang.String edge_name, int typeCount, int[] types, int edge_formula_id, int ref_id_count, int[] ref_ids)
from
- to
- length
- strength
- public void addEdge(SOCREdge edge)
public void addFormula(int f_id, java.lang.String f_density, java.lang.String f_formula)
public void addFormula(SOCRFormula formula)
public void addRef(int id, int author_count, java.lang.String[] authors, java.lang.String year, java.lang.String title, java.lang.String journal, java.lang.String volumeInfo, java.lang.String url)
public void addRef(SOCRReference ref)
public int countNumberOfEdgeforNodeId(int id)
public int findNodeByName(java.lang.String label)
label
-
public int findNodeById(int id)
public int findRefById(int id)
public SOCRReference findRefByIndex(int index)
public int getEdgeCount()
public int getNodeCount()
public int getRefCount()
public int getFormulaCount()
public SOCREdge[] getEdges()
public SOCREdge getEdge(int index)
public SOCRNode[] getNodes()
public SOCRNode getNode(int index)
public SOCRReference getRef(int index)
public SOCRFormula getFormula(int index)
public void pickEdge(int id)
public void pickEdge(java.lang.Object o)
public void pickNode(java.lang.String name)
public void setEdges(SOCREdge[] newEdges)
newEdges
- public void setNodes(SOCRNode[] newNodes)
newNodes
- public boolean isDebug()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |