public interface Chip extends Cloneable, Serializable
AbstractChip for a partial implementation.| Modifier and Type | Field and Description |
|---|---|
static String |
DISPLAY_EVENT |
static String |
FILTERED_PREFIX
Use this prefix infront of your event id if you do not want the event values filtered.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(String topic,
ChipEventListener listener) |
void |
checkValid()
Gives the chip the possibility to check if its objects are still valid sets the "valid" state
|
void |
dispose()
called when its display state is unbound from its http session.
|
String |
getCommandID(String eventID) |
String |
getDisplayParameters()
Parameters the chip needs to restore its current display status.
|
DisplayState |
getDisplayState() |
String |
getEventID(String eventID) |
String |
getEventURL(String eventID,
String value) |
String |
getEventValue(String eventID,
String value)
Chips that translate event values (i.e.
|
String |
getID() |
JaloSession |
getJaloSession() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
List<MenuEntry> |
getMenuEntries() |
Chip |
getParent() |
String |
getUniqueName() |
void |
goFullScreen() |
boolean |
isValid()
Returns whether the chip is still valid In contrast to checkValid() it doesn't actually ask its objects but just
returns the state set in checkValid()
|
void |
leaveFullScreen() |
void |
processEvents(Map<String,List<String>> events)
Handles all incoming requests for this chip.
|
String |
registerUniqueName(String proposedName,
Chip child) |
void |
removeEventListener(String topic,
ChipEventListener listener) |
void |
render(PageContext context)
Renders the chip (usually using a jsp)
|
String |
translateFormFieldToEventName(String formFieldName)
used for macro testing; translate a JSP form field name (may be PK) to the name used in macro file step elements
Don't use the jalosession or change the internal state of the chip here!!!
|
String |
translateFormFieldToEventValue(String formFieldName,
String formFieldValue)
used for macro testing; translate a JSP form field value (may be PK) to the value used in macro file step elements
Don't use the jalosession or change the internal state of the chip here!!!
|
static final String FILTERED_PREFIX
static final String DISPLAY_EVENT
DisplayState getDisplayState()
String getID()
JaloSession getJaloSession()
void render(PageContext context)
throws ServletException,
IOException
ServletExceptionIOExceptionvoid checkValid()
boolean isValid()
void processEvents(Map<String,List<String>> events)
String getJSPURI()
void goFullScreen()
void leaveFullScreen()
String getEventValue(String eventID, String value)
translateFormFieldToEventValue(String,String)) must
register the values using this method.Chip getParent()
String getUniqueName()
String translateFormFieldToEventName(String formFieldName)
String translateFormFieldToEventValue(String formFieldName, String formFieldValue)
void addEventListener(String topic, ChipEventListener listener)
void removeEventListener(String topic, ChipEventListener listener)
void dispose()
String getDisplayParameters()
Copyright © 2017 SAP SE. All Rights Reserved.