|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.jsp.tree.Model
@Deprecated public class Model
| Constructor Summary | |
|---|---|
Model(Config cfg)
Deprecated. |
|
| Method Summary | |
|---|---|
int |
getActionLabelType()
Deprecated. |
int |
getAspectLabelType()
Deprecated. |
Config |
getConfig()
Deprecated. |
String |
getDomainAction()
Deprecated. Returns the current domain action being rendered by the tree. |
List |
getIndentImages()
Deprecated. |
Object |
getLabelData()
Deprecated. Returns the object acquired from implementations of one of two plugged-in interfaces depending on the label type being rendered. |
int |
getLabelType()
Deprecated. Returns the current label type rendering being requested of the label renderer by the tree renderer. |
Node |
getNode()
Deprecated. Returns the currently rendering node. |
Node |
getNodeForId(String id)
Deprecated. returns the node with the specified id in the root node. |
static Node |
getNodeForId(String id,
Node nodeToSearch)
Deprecated. returns the node with the specified id in the specified node. |
int |
getNodeLabelType()
Deprecated. |
String |
getPopIndent()
Deprecated. |
Node |
getRoot()
Deprecated. Returns the root node of the tree. |
boolean |
getStartRendering()
Deprecated. The first time called this method marks this model as being in the midst of rendering and returns true. |
Map |
getTreeUrls()
Deprecated. Used in the tree rendering JSP to translate supported JSP Map semantics to dynamic lookup of an expansion and collapse URLs for a passed in node id. |
void |
setDomainAction(String action)
Deprecated. Sets the current domain action being rendered by the tree. |
void |
setExpandedForId(String id,
boolean expanded)
Deprecated. sets whether or not the specified node is expanded. |
void |
setIsRendering(boolean b)
Deprecated. Marks this model as not being in the midst of rendering. |
void |
setLabelType(int labelType)
Deprecated. Sets the current label type being requested of the label renderer by the tree renderer. |
void |
setNode(Node node)
Deprecated. Sets the currently rendering node. |
void |
setPushIndent(String indentType)
Deprecated. |
void |
setRootDomainObject(Object root)
Deprecated. Sets the root object to be translated into the root node of the tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Model(Config cfg)
| Method Detail |
|---|
public Node getNodeForId(String id)
id - the id to search for.
public static Node getNodeForId(String id,
Node nodeToSearch)
null is returned. if the specified id is not found in
this node's hierarchy than null is returned. otherwise, the node with the
specified id is returned. if more than one node in this hierarchy is
found, it uses the first one it encounters.
id - the id to search for.nodeToSearch - the node to search for id in.
public void setExpandedForId(String id,
boolean expanded)
id - the id of the containerexpanded - whether or not it is expanded.
IllegalArgumentException - if the node specified by id is not a container or if there is no
node with the specified id.
NullPointerException - if id is null.public void setRootDomainObject(Object root)
root - The root to set.public Config getConfig()
public List getIndentImages()
public void setPushIndent(String indentType)
public String getPopIndent()
public Object getLabelData()
public Map getTreeUrls()
public boolean getStartRendering()
public void setIsRendering(boolean b)
public Node getRoot()
public Node getNode()
public void setNode(Node node)
node - The node to set.public String getDomainAction()
public void setDomainAction(String action)
public int getLabelType()
public int getActionLabelType()
public int getNodeLabelType()
public int getAspectLabelType()
public void setLabelType(int labelType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||