|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.opensuit.core.util.HeadingUtils
public class HeadingUtils
Helper class to manage the current Heading (html elements <Hx>) level while rendering a page with open SUIT.
Constructor Summary | |
---|---|
HeadingUtils()
|
Method Summary | |
---|---|
static void |
decrLevel(javax.servlet.http.HttpServletRequest iRequest)
Decreases the current heading level during the rendering process. |
static int |
getLevel(javax.servlet.http.HttpServletRequest iRequest)
Returns the current heading level during the rendering process. |
static void |
incrLevel(javax.servlet.http.HttpServletRequest iRequest)
Increases the current heading level during the rendering process. |
static void |
moveLevel(javax.servlet.http.HttpServletRequest iRequest,
int increment)
Moves the current heading level by the given increment during the rendering process. |
static void |
setLevel(javax.servlet.http.HttpServletRequest iRequest,
int level)
Changes the current heading level during the rendering process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeadingUtils()
Method Detail |
---|
public static int getLevel(javax.servlet.http.HttpServletRequest iRequest)
iRequest
- The current http request.
public static void setLevel(javax.servlet.http.HttpServletRequest iRequest, int level)
iRequest
- The current http request.level
- The new heading level to apply.public static void moveLevel(javax.servlet.http.HttpServletRequest iRequest, int increment)
iRequest
- The current http request.increment
- The increment value to apply to the current heading level.public static void incrLevel(javax.servlet.http.HttpServletRequest iRequest)
iRequest
- The current http request.public static void decrLevel(javax.servlet.http.HttpServletRequest iRequest)
iRequest
- The current http request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |