public class AjaxHighlight extends com.webobjects.appserver._private.WODynamicGroup
Name | Description |
---|---|
value | the value to check for highlighting |
id | the optional id to highlight (if blank, a container will be generated) |
elementName | the element name of the generated container (if specified, a container will be generated); defaults to div |
effect | the name of the scriptaculous effect to render (defaults to "Highlight", "none" = no effect) |
newEffect | the name of the scriptaculous effect to render (defaults to "Highlight", "none" = no effect) for new objects |
updateEffect | the name of the scriptaculous effect to render (defaults to "Highlight", "none" = no effect) for updated objects |
class | the CSS class of the generated container |
style | the CSS style of the generated container |
onMouseOver | string with javascript to execute |
onMouseOut | string with javascript to execute |
duration | the duration of the highlight effect (in seconds) |
hidden | if true, when the value is highlighted, the element will be display: none |
newHidden | if true, when the value is highlighted, the element will be display: none for new objects |
updateHidden | if true, when the value is highlighted, the element will be display: none for updated objects |
delay | if set, the delay that is applied before the effect is executed |
showEffect | if set, the highlighed elemented with have this effect applied prior to the highlight (i.e. "Appear") |
showDuration | the duration of the show effect (in seconds) |
hideEffect | if set, the highlighed elemented with have this effect applied after the highlight (i.e. "Fade") |
hideDuration | the duration of the hide effect (in seconds) |
Modifier and Type | Class and Description |
---|---|
protected static class |
AjaxHighlight.HighlightMetadata |
_children
_ConstructorParameters
Constructor and Description |
---|
AjaxHighlight(String name,
NSDictionary<String,WOAssociation> associations,
WOElement template) |
Modifier and Type | Method and Description |
---|---|
void |
appendToResponse(WOResponse response,
WOContext context) |
static void |
highlight(Object obj) |
static void |
highlight(Object obj,
boolean isNew) |
protected static Object |
highlightedValue(Object obj) |
static AjaxHighlight.HighlightMetadata |
highlightMetadataForObject(Object obj) |
static void |
highlightNew(Object obj) |
static void |
highlightUpdate(Object obj) |
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toString
public AjaxHighlight(String name, NSDictionary<String,WOAssociation> associations, WOElement template)
public void appendToResponse(WOResponse response, WOContext context)
appendToResponse
in class com.webobjects.appserver._private.WODynamicGroup
public static AjaxHighlight.HighlightMetadata highlightMetadataForObject(Object obj)
public static final void highlight(Object obj)
public static final void highlightNew(Object obj)
public static final void highlightUpdate(Object obj)
public static final void highlight(Object obj, boolean isNew)
Copyright © 2002 – 2024 Project Wonder.