|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.data.help.HelpProvider | +--oracle.cabo.ui.data.help.SecondaryWindowHelpProvider
Most HelpProvider implementations will wish to return a javascript pseudo URL that will launch a secondary window for displaying help topics and help system pages on user agents that support JavaScript.
This functionality is provided in the SecondaryWindowHelpProvider abstract class. Classes that extend SecondaryWindowHelpProvider need only provide an implementation for the getHelpTopicURL() and getHelpSystemURL() method. SecondaryWindowHelpProvider will wrap the returned value in a javascript pseudo URL if the user agent supports javascript, and will return the string URL directly if the user agent does not.
Field Summary | |
static int |
DEFAULT_WINDOW_HEIGHT
|
static int |
DEFAULT_WINDOW_WIDTH
|
Fields inherited from class oracle.cabo.ui.data.help.HelpProvider |
FRONT_PAGE_KEY, HELP_SYSTEM_NAME, HELP_TOPICS_NAME |
Constructor Summary | |
SecondaryWindowHelpProvider()
|
Method Summary | |
protected abstract java.lang.String |
getHelpSystemURL(RenderingContext context,
java.lang.Object select)
The getHelpSystemURL() method should return a string URL for the given select string (HelpProvider System Key) |
protected abstract java.lang.String |
getHelpTopicURL(RenderingContext context,
java.lang.Object select)
The getHelpTopicURL() method should return a string URL for the given select string (topic-id). |
int |
getWindowHeight()
Returns the requested height of the secondary window |
int |
getWindowWidth()
Returns the requested width of the secondary window |
java.lang.Object |
selectHelpSystemValue(RenderingContext context,
java.lang.Object select)
The SecondaryWindowHelpProvider implementation of selectHelpSystemValue() wraps the value returned by getHelpSystemURL() with javascript code to launch a secondary window (if the user agent supports javascript). |
java.lang.Object |
selectHelpTopicsValue(RenderingContext context,
java.lang.Object select)
The SecondaryWindowHelpProvider implementation of selectHelpTopicsValue() wraps the value returned by getHelpTopicURL() with javascript code to launch a secondary window (if the user agent supports javascript). |
void |
setWindowHeight(int windowHeight)
Set the requested height of the secondary window |
void |
setWindowWidth(int windowWidth)
Set the requested width of the secondary window |
Methods inherited from class oracle.cabo.ui.data.help.HelpProvider |
cleanup, getDataObject, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_WINDOW_WIDTH
public static final int DEFAULT_WINDOW_HEIGHT
Constructor Detail |
public SecondaryWindowHelpProvider()
Method Detail |
public java.lang.Object selectHelpTopicsValue(RenderingContext context, java.lang.Object select)
selectHelpTopicsValue
in class HelpProvider
context
- the current rendering contextselect
- criterion (topic-id)public java.lang.Object selectHelpSystemValue(RenderingContext context, java.lang.Object select)
selectHelpSystemValue
in class HelpProvider
context
- the current rendering contextselect
- criterion (HelpProvider key constant)public int getWindowHeight()
public void setWindowHeight(int windowHeight)
windowHeight
- the new requested heightpublic int getWindowWidth()
public void setWindowWidth(int windowWidth)
windowWidth
- the new requested heightprotected abstract java.lang.String getHelpTopicURL(RenderingContext context, java.lang.Object select)
context
- the current rendering contextselect
- criterion (topic-id)protected abstract java.lang.String getHelpSystemURL(RenderingContext context, java.lang.Object select)
context
- the current rendering contextselect
- criterion (HelpProvider System Key)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |