|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.redhat.rhn.frontend.taglibs.list.AlphaBarHelper
public class AlphaBarHelper
AlphaBarHelper
| Constructor Summary | |
|---|---|
AlphaBarHelper()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAlphaValue(java.lang.String listName,
ServletRequest req)
Returns the alpha value.. |
static AlphaBarHelper |
getInstance()
get the singleton instance |
boolean |
isSelected(java.lang.String listName,
ServletRequest req)
Returns true if the alpha bar item was selected from the request |
java.lang.String |
makeAlphaKey(java.lang.String listName)
provides the alpha bar key |
void |
writeAlphaBar(PageContext pageContext,
java.util.Set<java.lang.Character> activeChars,
java.lang.String listName)
Write the alpha bar to the current pageContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlphaBarHelper()
| Method Detail |
|---|
public java.lang.String makeAlphaKey(java.lang.String listName)
listName - the list name
public boolean isSelected(java.lang.String listName,
ServletRequest req)
listName - the name of this list, ncessary for unique identificationreq - the servlet request.
public java.lang.String getAlphaValue(java.lang.String listName,
ServletRequest req)
listName - the name of this list, ncessary for unique identificationreq - the servlet request.
public static AlphaBarHelper getInstance()
public void writeAlphaBar(PageContext pageContext,
java.util.Set<java.lang.Character> activeChars,
java.lang.String listName)
throws JspException
pageContext - the pageContext to write toactiveChars - a Set of characters that are active in the alpha barlistName - the name of the list to write the alpha bar for.
JspException - jspException from the super class
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||