|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OwComboboxRenderer
Combo box renderer component interface.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Method Summary | |
|---|---|
void |
addEvent(String eventName_p,
String eventHandler_p)
Add JavaScript code for the given event name |
void |
addStyleClass(String styleClass_p)
Add specified style class. |
void |
addStyleClass(String styleClass_p,
boolean ignoreDefaultStyleClasses_p)
Add specific style class. |
void |
addStyleClasses(String[] styleClasses_p)
Add a list of style classes, to be rendered with this component. |
void |
addStyleClasses(String[] styleClasses_p,
boolean ignoreDefaultStyleClasses_p)
Add a list of style classes, to be rendered with this component. |
String[] |
getAllEventsNames()
Get all event names for this combo |
void |
renderCombo(Writer writer_p)
Render the combobox on a Writer object. |
void |
setContext(OwMainAppContext context_p)
Set the context. |
void |
setEnabled(boolean enabled_p)
Set the enabled status of this combobox. |
void |
setFieldDefinition(OwFieldDefinition fieldDefinition_p)
Set the field definition. |
void |
setFieldDescription(OwString description_p)
Set the description of the rendered field. |
void |
setFieldId(String fieldId_p)
Set the id of the rendered field. |
void |
setFieldProvider(OwFieldProvider fieldProvider_p)
Set the field provider. |
void |
setModel(OwComboModel model_p)
Set the combo model items. |
| Method Detail |
|---|
void renderCombo(Writer writer_p)
throws Exception
Writer object.
writer_p - - the writer object.
Exceptionvoid addStyleClass(String styleClass_p)
styleClass_p - - thestyle class.
void addStyleClass(String styleClass_p,
boolean ignoreDefaultStyleClasses_p)
ignoreDefaultStyleClasses_p is true the default style classes are not
rendered anymore
styleClass_p - - the name of the style classignoreDefaultStyleClasses_p - - if has true value, the default style classes are not
rendered anymorevoid addStyleClasses(String[] styleClasses_p)
styleClasses_p - - the array of String objects, representing the style classes.
void addStyleClasses(String[] styleClasses_p,
boolean ignoreDefaultStyleClasses_p)
styleClasses_p - - the array of String objects, representing the style classes.ignoreDefaultStyleClasses_p - - if has true value, the default style classes are not
rendered anymore
void addEvent(String eventName_p,
String eventHandler_p)
eventName_p - - the event nameeventHandler_p - - the JavaScript event handler. Please use " for JS string delimiter.String[] getAllEventsNames()
String objects, representing the event names.void setContext(OwMainAppContext context_p)
context_p - - the OwMainAppContext object.void setModel(OwComboModel model_p)
model_p - - the OwComboModel object.void setFieldId(String fieldId_p)
fieldId_p - - the String object representing the ID to be rendered as htmlid valuevoid setFieldDescription(OwString description_p)
description_p - - the OwString object representing the description of the rendered combo controls (usually as title HTML attribute values)void setFieldDefinition(OwFieldDefinition fieldDefinition_p)
fieldDefinition_p - - the OwFieldDefinition object.void setFieldProvider(OwFieldProvider fieldProvider_p)
fieldProvider_p - - the OwFieldProvider object.void setEnabled(boolean enabled_p)
enabled_p -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||