public class Menu extends ListGrid implements HasItemClickHandlers
A Menu
is initialized with a set of MenuItem
s specified as items
, each of which represents one row in the menu's display and
specifies the action to take when that menu item is selected.
Each MenuItem
can have a title
, icon
, shortcut keys
, optional MenuItem.submenu
and various other settings.
To create a
context menu for a component, provide a Menu instance for the Canvas.contextMenu
property. Note that some components like ListGrid
have
more specific properties because they have distinct regions or because they have a default set of context menu actions
available (for example: ListGrid.headerContextMenu
and related APIs).
If you want a button that pops up a menu when clicked, or a bar of
such buttons, see the MenuButton
and MenuBar
classes.
To create a pop-up panel interface that looks nothing like a
Menu
(but still dismisses automatically on an outside click), use Canvas.showClickMask()
to arrange for automatic dismissal, and the
Canvas.showNextTo()
utility method to place the component near
whatever triggered it, while automatically staying on-screen.
Modifier and Type | Field and Description |
---|---|
static ListGridField |
ICON_FIELD |
static ListGridField |
KEY_FIELD |
static ListGridField |
SUBMENU_FIELD |
static ListGridField |
TITLE_FIELD |
config, configOnly, factoryCreated, factoryProperties, id, nativeObject, scClassName
Constructor and Description |
---|
Menu() |
Menu(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(MenuItem item) |
void |
addItem(MenuItem item,
int index) |
com.google.gwt.event.shared.HandlerRegistration |
addItemClickHandler(ItemClickHandler handler)
Add a itemClick handler.
|
static void |
changeAutoChildDefaults(java.lang.String autoChildName,
Canvas defaults)
Changes the defaults for Canvas AutoChildren named
autoChildName . |
static void |
changeAutoChildDefaults(java.lang.String autoChildName,
FormItem defaults)
Changes the defaults for FormItem AutoChildren named
autoChildName . |
protected com.google.gwt.core.client.JavaScriptObject |
create() |
void |
fetchData()
This DataBoundComponent method does not apply to Menu.
|
void |
fetchData(Criteria criteria)
Retrieves data from the DataSource that matches the specified criteria.
|
void |
fetchData(Criteria criteria,
DSCallback callback)
Retrieves data from the DataSource that matches the specified criteria.
|
void |
fetchData(Criteria criteria,
DSCallback callback,
DSRequest requestProperties)
This DataBoundComponent method does not apply to Menu.
|
java.lang.Boolean |
getAlternateRecordStyles()
Explicitly disable alternateRecordStyles at the menu level by default so setting to true for all ListGrids will not
impact menus' appearance.
|
java.lang.Boolean |
getAutoDismiss()
When false, when a menu item is chosen (via mouse click or keyboard), the menu is not automatically hidden, staying in
place for further interactivity
|
java.lang.Boolean |
getAutoDismissOnBlur()
When false, when a user clicks outside the menu, or hits the Escape key, this menu will not be automatically hidden,
staying in place for further interactivity.
|
java.lang.Boolean |
getAutoDraw()
Menus will not draw on initialization, until they're explicitly show()n
|
java.lang.String |
getBaseStyle()
CSS style for a normal cell
|
java.lang.String |
getBodyStyleName()
CSS style used for the body of this menu when there is no icon field.
|
java.lang.String |
getCancelButtonTitle()
Title for the "Done" button shown when the
NavigationBar is present. |
java.lang.Boolean |
getCanSelectParentItems()
If true, clicking or pressing Enter on a menu item that has a submenu will select that item (with standard behavior of
hiding the menus, calling click handlers, etc) instead of showing the submenu.
|
java.lang.Boolean |
getCascadeAutoDismiss()
When true any generated submenus will inherit
autoDismiss
from this menu. |
int |
getCellHeight()
The height of each item in the menu, in pixels.
|
Img |
getCheckmarkDisabledImage()
Default image to display for disabled checkmarked items.
|
Img |
getCheckmarkImage()
Default image to display for checkmarked items.
|
DataSource |
getDataSource()
Optional DataSource to fetch menuItems and submenus from, instead of using
items . |
int |
getDefaultWidth()
The default menu width.
|
java.lang.String |
getEmptyMessage()
Message to show when a menu is shown with no items.
|
java.lang.Boolean |
getFetchSubmenus()
When using a Tree or hierarchical DataSource as the menu's data, submenus are automatically generated from child nodes.
|
java.lang.String |
getFillSpaceStyleName()
If set, alternative body style for the menu used when there is no icon field and the
placement settings indicate the menu will be filling a portion of
the screen or a panel. |
java.lang.String |
getIconBodyStyleName()
If set, the CSS style used for the body of this menu when there is an icon field.
|
static ListGridField |
getIconFieldDefaults()
Default properties for the automatically generated icon column.
|
ListGridField |
getIconFieldProperties()
Custom properties for the automatically generated icon column.
|
java.lang.String |
getIconFillSpaceStyleName()
If set, alternative body style for the menu used when there is an icon field and the
placement settings indicate the menu will be filling a portion of
the screen or a panel. |
int |
getIconHeight()
The default height applied to custom icons in this menu.
|
int |
getIconWidth()
The default width applied to custom icons in this menu.
|
Criteria |
getInitialCriteria()
Criteria to be used when fetching items for this Menu.
|
MenuItem |
getItem(int item)
Get a particular MenuItem by index.
|
int |
getItemNum(MenuItem item)
Given a MenuItem, return it's index in the items array.
|
MenuItem[] |
getItems()
Return the menu items.
|
static ListGridField |
getKeyFieldDefaults()
Default properties for the automatically generated key column.
|
ListGridField |
getKeyFieldProperties()
Custom properties for the automatically generated key column.
|
com.smartgwt.logicalstructure.core.LogicalStructureObject |
getLogicalStructure()
Getter implementing the
LogicalStructure interface,
which supports Eclipse's logical structure debugging facility. |
java.lang.Integer |
getMenuButtonWidth()
For a menu that has a
MenuButton generated for it automatically (for example
when included in a MenuBar , the width that the MenuButton should have. |
NavigationBar |
getNavigationBar()
Navigation bar shown when
placement setting indicates that
the menu should be shown filling a portion of the screen or a panel. |
Canvas |
getNavStack()
When the
placement setting indicates that the menu should be
shown filling a portion of the screen or a panel, navStack is a container element created to hold the
NavigationBar and any submenus that are shown by the menu. |
com.google.gwt.core.client.JavaScriptObject |
getOrCreateJsObj() |
static Menu |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
static Menu |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj,
MenuItem parentItem) |
PanelPlacement |
getPlacement()
Where should the menu be placed on the screen?
|
java.lang.String |
getShowAnimationEffect()
When this menu is shown how should it animate into view? By default the menu will just show at the specified
size/position.
|
java.lang.Boolean |
getShowEdges()
showEdges dynamically defaults to false when the placement setting indicates the Menu will be filling a portion of the screen or a panel. |
java.lang.Boolean |
getShowIcons()
A boolean, indicating whether the checkmark/custom icon column should be displayed.
|
java.lang.Boolean |
getShowKeys()
A boolean, indicating whether the shortcut key column should be displayed.
|
java.lang.Boolean |
getShowShadow()
Whether to show a drop shadow for this Canvas.
|
java.lang.Boolean |
getShowSubmenus()
A boolean, indicating whether the submenu indicator column should be displayed.
|
Menu |
getSubmenu(MenuItem item)
Creates and returns the submenu associated with the provided MenuItem.
|
java.lang.String |
getSubmenuConstructor()
When using a Tree or hierarchical DataSource as the menu's data, optional subclass of Menu that should be used when
generating submenus.
|
java.lang.String |
getSubmenuDirection()
Should submenus show up on our left or right.
|
Img |
getSubmenuDisabledImage()
Default image to use for the submenu indicator when item is disabled.
|
static ListGridField |
getSubmenuFieldDefaults()
Default properties for the automatically generated submenu column.
|
ListGridField |
getSubmenuFieldProperties()
Custom properties for the automatically generated submenu column.
|
Img |
getSubmenuImage()
Default image to use for the submenu indicator.
|
Canvas |
getTarget()
Optional target canvas for this menu.
|
protected Menu |
getTestInstance() |
static ListGridField |
getTitleFieldDefaults()
Default properties for the automatically generated title column.
|
ListGridField |
getTitleFieldProperties()
Custom properties for the automatically generated title column.
|
java.lang.Boolean |
getUseKeys()
A boolean indicating whether this menu should use shortcut keys.
|
static void |
hideAllMenus()
Hide all menus that are currently open.
|
void |
hideContextMenu()
Hide the context menu - alias for hide()
|
protected void |
onInit_ListGrid() |
void |
relinkJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
removeItem(MenuItem item) |
void |
setAlternateRecordStyles(java.lang.Boolean alternateRecordStyles)
Explicitly disable alternateRecordStyles at the menu level by default so setting to true for all ListGrids will not
impact menus' appearance.
|
void |
setAutoDismiss(java.lang.Boolean autoDismiss)
When false, when a menu item is chosen (via mouse click or keyboard), the menu is not automatically hidden, staying in
place for further interactivity
|
void |
setAutoDismissOnBlur(java.lang.Boolean autoDismissOnBlur)
When false, when a user clicks outside the menu, or hits the Escape key, this menu will not be automatically hidden,
staying in place for further interactivity.
|
void |
setAutoDraw(java.lang.Boolean autoDraw)
Menus will not draw on initialization, until they're explicitly show()n
|
void |
setBaseStyle(java.lang.String baseStyle)
CSS style for a normal cell
|
void |
setBodyStyleName(java.lang.String bodyStyleName)
CSS style used for the body of this menu when there is no icon field.
|
void |
setCancelButtonTitle(java.lang.String cancelButtonTitle)
Title for the "Done" button shown when the
NavigationBar is present. |
void |
setCanSelectParentItems(java.lang.Boolean canSelectParentItems)
If true, clicking or pressing Enter on a menu item that has a submenu will select that item (with standard behavior of
hiding the menus, calling click handlers, etc) instead of showing the submenu.
|
void |
setCascadeAutoDismiss(java.lang.Boolean cascadeAutoDismiss)
When true any generated submenus will inherit
autoDismiss
from this menu. |
void |
setCellHeight(int cellHeight)
The height of each item in the menu, in pixels.
|
void |
setCheckmarkDisabledImage(Img checkmarkDisabledImage)
Default image to display for disabled checkmarked items.
|
void |
setCheckmarkImage(Img checkmarkImage)
Default image to display for checkmarked items.
|
void |
setConfig(com.google.gwt.core.client.JavaScriptObject config) |
void |
setCriteria(AdvancedCriteria criteria)
This DataBoundComponent method is not supported - use
initialCriteria to apply criteria to the fetches made by menus. |
void |
setCriteria(Criteria criteria)
This DataBoundComponent method is not supported - use
initialCriteria to apply criteria to the fetches made by menus. |
void |
setData(MenuItem... data)
An array of menuItem objects, specifying the menu items this menu should show.
|
void |
setData(Record[] data)
An array of menuItem objects, specifying the menu items this menu should show.
|
void |
setData(RecordList data)
An array of menuItem objects, specifying the menu items this menu should show.
|
void |
setData(Tree data)
An array of menuItem objects, specifying the menu items this menu should show.
|
void |
setDataProperties(Tree dataProperties)
For a
Menu that uses a DataSource, these properties will be passed to the
automatically-created ResultTree. |
void |
setDataSource(DataSource dataSource)
Optional DataSource to fetch menuItems and submenus from, instead of using
items . |
static void |
setDefaultProperties(Menu menuProperties)
Class level method to set the default properties of this class.
|
void |
setDefaultWidth(int defaultWidth)
The default menu width.
|
void |
setEmptyMessage(java.lang.String emptyMessage)
Message to show when a menu is shown with no items.
|
void |
setFetchSubmenus(java.lang.Boolean fetchSubmenus)
When using a Tree or hierarchical DataSource as the menu's data, submenus are automatically generated from child nodes.
|
void |
setFillSpaceStyleName(java.lang.String fillSpaceStyleName)
If set, alternative body style for the menu used when there is no icon field and the
placement settings indicate the menu will be filling a portion of
the screen or a panel. |
void |
setIconBodyStyleName(java.lang.String iconBodyStyleName)
If set, the CSS style used for the body of this menu when there is an icon field.
|
static void |
setIconFieldDefaults(ListGridField iconFieldDefaults)
Default properties for the automatically generated icon column.
|
void |
setIconFieldProperties(ListGridField iconFieldProperties)
Custom properties for the automatically generated icon column.
|
void |
setIconFillSpaceStyleName(java.lang.String iconFillSpaceStyleName)
If set, alternative body style for the menu used when there is an icon field and the
placement settings indicate the menu will be filling a portion of
the screen or a panel. |
void |
setIconHeight(int iconHeight)
The default height applied to custom icons in this menu.
|
void |
setIconWidth(int iconWidth)
The default width applied to custom icons in this menu.
|
void |
setInitialCriteria(Criteria initialCriteria)
Criteria to be used when fetching items for this Menu.
|
java.lang.Boolean |
setItemChecked(int item)
Checks or unchecks the menu item according to the value of newState, and redraws the menu if necessary.
|
java.lang.Boolean |
setItemChecked(int item,
boolean newState)
Checks or unchecks the menu item according to the value of newState, and redraws the menu if necessary.
|
java.lang.Boolean |
setItemChecked(MenuItem item)
Checks or unchecks the menu item according to the value of newState, and redraws the menu if necessary.
|
java.lang.Boolean |
setItemChecked(MenuItem item,
boolean newState)
Checks or unchecks the menu item according to the value of newState, and redraws the menu if necessary.
|
java.lang.Boolean |
setItemEnabled(int item)
Enables or disables the menu item according to the value of newState, and redraws the menu if necessary.
|
java.lang.Boolean |
setItemEnabled(int item,
boolean newState)
Enables or disables the menu item according to the value of newState, and redraws the menu if necessary.
|
java.lang.Boolean |
setItemEnabled(MenuItem item)
Enables or disables the menu item according to the value of newState, and redraws the menu if necessary.
|
java.lang.Boolean |
setItemEnabled(MenuItem item,
boolean newState)
Enables or disables the menu item according to the value of newState, and redraws the menu if necessary.
|
java.lang.Boolean |
setItemIcon(int item,
java.lang.String newIcon)
Sets the icon and disabled icon (if specified) for a particular menu item and redraws the menu if necessary.
|
java.lang.Boolean |
setItemIcon(int item,
java.lang.String newIcon,
java.lang.String newDisabledIcon)
Sets the icon and disabled icon (if specified) for a particular menu item and redraws the menu if necessary.
|
java.lang.Boolean |
setItemIcon(MenuItem item,
java.lang.String newIcon)
Sets the icon and disabled icon (if specified) for a particular menu item and redraws the menu if necessary.
|
java.lang.Boolean |
setItemIcon(MenuItem item,
java.lang.String newIcon,
java.lang.String newDisabledIcon)
Sets the icon and disabled icon (if specified) for a particular menu item and redraws the menu if necessary.
|
void |
setItemProperties(int item,
MenuItem properties)
Set arbitrary properties for a particular menu item.
|
void |
setItems(MenuItem... items)
Synonym for
data
If this method is called after the component has been drawn/initialized: Synonym for setData() . |
java.lang.Boolean |
setItemTitle(int item,
java.lang.String newTitle)
Sets the title of a particular menu item to the string specified by newTitle and redraws the menu if necessary.
|
java.lang.Boolean |
setItemTitle(MenuItem item,
java.lang.String newTitle)
Sets the title of a particular menu item to the string specified by newTitle and redraws the menu if necessary.
|
static void |
setKeyFieldDefaults(ListGridField keyFieldDefaults)
Default properties for the automatically generated key column.
|
void |
setKeyFieldProperties(ListGridField keyFieldProperties)
Custom properties for the automatically generated key column.
|
com.smartgwt.logicalstructure.core.LogicalStructureObject |
setLogicalStructure(com.smartgwt.logicalstructure.widgets.menu.MenuLogicalStructure s)
Setter implementing the
LogicalStructure interface,
which supports Eclipse's logical structure debugging facility. |
void |
setMenuButtonWidth(java.lang.Integer menuButtonWidth)
For a menu that has a
MenuButton generated for it automatically (for example
when included in a MenuBar , the width that the MenuButton should have. |
void |
setPlacement(PanelPlacement placement)
Where should the menu be placed on the screen?
|
void |
setShowAnimationEffect(java.lang.String showAnimationEffect)
When this menu is shown how should it animate into view? By default the menu will just show at the specified
size/position.
|
void |
setShowEdges(java.lang.Boolean showEdges)
showEdges dynamically defaults to false when the placement setting indicates the Menu will be filling a portion of the screen or a panel. |
void |
setShowIcons(java.lang.Boolean showIcons)
A boolean, indicating whether the checkmark/custom icon column should be displayed.
|
void |
setShowKeys(java.lang.Boolean showKeys)
A boolean, indicating whether the shortcut key column should be displayed.
|
void |
setShowShadow(java.lang.Boolean showShadow)
Whether to show a drop shadow for this Canvas.
|
void |
setShowSubmenus(java.lang.Boolean showSubmenus)
A boolean, indicating whether the submenu indicator column should be displayed.
|
void |
setSubmenuConstructor(java.lang.String submenuConstructor)
When using a Tree or hierarchical DataSource as the menu's data, optional subclass of Menu that should be used when
generating submenus.
|
void |
setSubmenuDirection(java.lang.String submenuDirection)
Should submenus show up on our left or right.
|
void |
setSubmenuDisabledImage(Img submenuDisabledImage)
Default image to use for the submenu indicator when item is disabled.
|
static void |
setSubmenuFieldDefaults(ListGridField submenuFieldDefaults)
Default properties for the automatically generated submenu column.
|
void |
setSubmenuFieldProperties(ListGridField submenuFieldProperties)
Custom properties for the automatically generated submenu column.
|
void |
setSubmenuImage(Img submenuImage)
Default image to use for the submenu indicator.
|
void |
setTarget(Canvas target)
Optional target canvas for this menu.
|
void |
setTitle(java.lang.String title)
When used in a MenuBar, the title of the menu button create will be the title of the Menu.
|
static void |
setTitleFieldDefaults(ListGridField titleFieldDefaults)
Default properties for the automatically generated title column.
|
void |
setTitleFieldProperties(ListGridField titleFieldProperties)
Custom properties for the automatically generated title column.
|
void |
setUseKeys(java.lang.Boolean useKeys)
A boolean indicating whether this menu should use shortcut keys.
|
java.lang.Boolean |
showContextMenu()
Show this menu as a context menu, that is, immediately adjacent to the current mouse position.
|
addBodyKeyPressHandler, addCellClickHandler, addCellContextClickHandler, addCellDoubleClickHandler, addCellErrorIconHoverHandler, addCellErrorIconOutHandler, addCellErrorIconOverHandler, addCellHoverHandler, addCellMouseDownHandler, addCellMouseUpHandler, addCellOutHandler, addCellOverHandler, addCellSavedHandler, addCellSelectionChangedHandler, addCellValueHoverHandler, addData, addData, addData, addDataArrivedHandler, addDataChangedHandler, addDragCompleteHandler, addDrawAreaChangedHandler, addDropCompleteHandler, addEditCompleteHandler, addEditFailedHandler, addEditorEnterHandler, addEditorExitHandler, addEmbeddedComponent, addEmbeddedComponent, addEmbeddedComponent, addEmbeddedComponent, addFetchDataHandler, addFieldStateChangedHandler, addFilterEditorSubmitHandler, addFormulaField, addFormulaUpdatedHandler, addGroupByCompleteHandler, addGroupByHandler, addGroupStateChangedHandler, addHeaderClickHandler, addHeaderDoubleClickHandler, addHeaderHoverHandler, addHilitesChangedHandler, addRecordClickHandler, addRecordCollapseHandler, addRecordDoubleClickHandler, addRecordDropHandler, addRecordExpandHandler, addRemoveRecordClickHandler, addRowContextClickHandler, addRowEditorEnterHandler, addRowEditorExitHandler, addRowHoverHandler, addRowMouseDownHandler, addRowMouseUpHandler, addRowOutHandler, addRowOverHandler, addSelectionChangedHandler, addSelectionUpdatedHandler, addSetSortHandler, addSort, addSortChangedHandler, addSorterClickHandler, addSorterContextClickHandler, addSummaryField, addViewStateChangedHandler, anySelected, applyCellData, applyRecordData, applySortToData, autoFitField, autoFitFields, autoFitFields, cancelEditing, canEditCell, canExpandRecord, canSelectCell, canSelectRecord, cellHasChanges, cellHasErrors, cellHasErrors, cellValueHoverHTML, cellValueIsClipped, chartData, chartData, chartData, chartData, chartData, clearCriteria, clearCriteria, clearCriteria, clearEditValue, clearFieldError, clearFieldError, clearRowErrors, clearSort, closeGroup, closeRecord, collapseRecord, collapseRecords, configureGrouping, createRecordComponent, deselectAllRecords, deselectRange, deselectRecord, deselectRecord, deselectRecords, deselectRecords, disableHilite, disableHiliting, discardAllEdits, discardAllEdits, discardAllEdits, discardEdits, discardEdits, displayHeaderContextMenu, displaySort, editFields, editHilites, enableHilite, enableHilite, enableHiliting, enableHiliting, endEditing, expandRecord, expandRecords, exportClientData, exportClientData, exportClientData, exportData, exportData, fetchRelatedData, fetchRelatedData, fetchRelatedData, fetchRelatedData, fetchRelatedData, fieldIsEditable, fieldIsEditable, fieldIsEditable, fieldIsVisible, filterByEditor, filterData, filterData, filterData, filterData, find, findAll, findIndex, findNextEditCell, findNextIndex, findNextIndex, focusInCell, focusInFilterEditor, focusInFilterEditor, focusInRow, freezeField, freezeField, freezeField, freezeField, freezeFields, freezeFields, getAddDropValues, getAddFormulaFieldText, getAddOperation, getAddSummaryFieldText, getAdvancedFieldPickerThreshold, getAllEditRows, getAllFields, getAllowFilterExpressions, getAllowRowSpanning, getAlternateBodyStyleName, getAlternateFieldFrequency, getAlternateFieldStyles, getAlternateRecordFrequency, getAlwaysShowEditors, getAnimateFolderEffect, getAnimateFolderMaxRows, getAnimateFolders, getAnimateFolderSpeed, getAnimateFolderTime, getAnimateRemoveRecord, getAnimateRemoveSpeed, getAnimateRemoveTime, getAnimateRollOver, getAnimateRollUnder, getAnimateSelection, getAnimateSelectionUnder, getApplyFormulaAfterSummary, getApplyRowNumberStyle, getArrowKeyAction, getAsynchGroupingPrompt, getAutoComplete, getAutoConfirmSaveEdits, getAutoFetchAsFilter, getAutoFetchData, getAutoFetchDisplayMap, getAutoFetchTextMatchStyle, getAutoFitAllText, getAutoFitClipFields, getAutoFitData, getAutoFitExpandField, getAutoFitExtraRecords, getAutoFitFieldsFillViewport, getAutoFitFieldText, getAutoFitFieldWidths, getAutoFitHeaderHeights, getAutoFitIconFields, getAutoFitMaxColumns, getAutoFitMaxHeight, getAutoFitMaxRecords, getAutoFitMaxWidth, getAutoFitWidthApproach, getAutoSaveEdits, getAutoSizeHeaderSpans, getBackgroundComponent, getBadFormulaResultValue, getBaseStyle, getBody, getBodyBackgroundColor, getBodyOverflow, getBodyScrollLeft, getBodyScrollTop, getBooleanBaseStyle, getBooleanFalseImage, getBooleanImageHeight, getBooleanImageWidth, getBooleanPartialImage, getBooleanTrueImage, getCanAcceptDroppedRecords, getCanAddFormulaFields, getCanAddSummaryFields, getCanAutoFitFields, getCancelEditingConfirmationMessage, getCanCollapseGroup, getCanDragRecordsOut, getCanDragSelect, getCanDragSelectText, getCanDropInEmptyArea, getCanEdit, getCanEditFieldAttribute, getCanEditHilites, getCanEditTitles, getCanExpandMultipleRecords, getCanExpandRecordProperty, getCanExpandRecords, getCanFocusInEmptyGrid, getCanFreezeFields, getCanGroupBy, getCanHover, getCanMultiGroup, getCanMultiSort, getCanPickFields, getCanPickOmittedFields, getCanRemoveRecords, getCanReorderFields, getCanReorderRecords, getCanResizeFields, getCanSelectAll, getCanSelectCells, getCanSelectGroups, getCanSort, getCanTabToHeader, getCellContextMenu, getCellCSSText, getCellErrors, getCellHoverComponent, getCellPadding, getCellPageRect, getCellRowSpan, getCellSelection, getCellStartRow, getCellStyle, getChartConstructor, getChartType, getCheckboxFieldFalseImage, getCheckboxFieldImageHeight, getCheckboxFieldImageWidth, getCheckboxFieldPartialImage, getCheckboxFieldTrueImage, getChildExpansionMode, getClearAllSortingText, getClearFilterText, getClearSortFieldText, getClipHeaderTitles, getCollapseGroupOnRowClick, getColumnLeft, getColumnPageLeft, getColumnWidth, getConfigureGroupingText, getConfigureSortText, getConfirmCancelEditing, getConfirmDiscardEdits, getConfirmDiscardEditsMessage, getCriteria, getCurrentExpansionComponent, getCurrentExpansionComponent, getCurrentFieldWidths, getDataAsJSList, getDataAsRecordList, getDataFetchMode, getDataPageSize, getDateFormatter, getDatetimeFormatter, getDeepCloneOnEdit, getDefaultFields, getDefaultFormattedFieldValue, getDefaultFormattedFieldValue, getDefaultFormattedFieldValue, getDefaultFormattedValue, getDeferRemoval, getDetailDS, getDetailField, getDiscardEditsOnHideField, getDiscardEditsSaveButtonTitle, getDisplayValue, getDisplayValue, getDisplayValue, getDisplayValue, getDisplayValue, getDragData, getDragDataAction, getDragScrollRedrawDelay, getDragTrackerMode, getDragTrackerStyle, getDrawAheadRatio, getDrawAllMaxCells, getDrawArea, getDrawnRowHeight, getDrawnRows, getDropValues, getDuplicateDragMessage, getEditByCell, getEditCol, getEditedCell, getEditedCell, getEditedCell, getEditedCell, getEditedRecord, getEditEvent, getEditFailedBaseStyle, getEditFailedCSSText, getEditFormItem, getEditFormItem, getEditFormulaFieldText, getEditOnF2Keypress, getEditOnFocus, getEditPendingBaseStyle, getEditPendingCSSText, getEditProxyConstructor, getEditRow, getEditSummaryFieldText, getEditValue, getEditValue, getEditValueAsBoolean, getEditValueAsDate, getEditValueAsFloat, getEditValueAsInt, getEditValueAsRecord, getEditValueAsRecordArray, getEditValueAsString, getEditValues, getEditValues, getEmptyCellValue, getEmptyMessageStyle, getEnforceVClipping, getEnterKeyEditAction, getEnumCriteriaAsInitialValues, getErrorIconHeight, getErrorIconSrc, getErrorIconWidth, getEscapeKeyEditAction, getEventColumn, getEventColumn, getEventRow, getEventRow, getExpandedRecords, getExpansionCanEdit, getExpansionComponent, getExpansionComponentPoolingMode, getExpansionDetailField, getExpansionDetailRelated, getExpansionDetails, getExpansionEditor, getExpansionEditorCollapseOnSave, getExpansionEditorSaveButton, getExpansionEditorSaveButtonTitle, getExpansionEditorSaveDialogPrompt, getExpansionEditorShowSaveDialog, getExpansionField, getExpansionFieldFalseImage, getExpansionFieldImageHeight, getExpansionFieldImageWidth, getExpansionFieldTrueImage, getExpansionLayout, getExpansionMode, getExpansionRelated, getExportAll, getExportAlternateRowBGColor, getExportBGColor, getExportColumnBGColor, getExportDefaultBGColor, getExportFieldAlignments, getExportFields, getExportFieldWidths, getExportHeaderHeights, getExportRawValues, getExportRowBGColor, getExportWidthScale, getExportWrapHeaderTitles, getFetchDelay, getFetchOperation, getField, getField, getFieldAlignments, getFieldByName, getFieldContentWidth, getFieldCount, getFieldName, getFieldNum, getFieldNum, getFieldPickerFieldProperties, getFieldPickerShowSampleValues, getFieldPickerWindow, getFields, getFieldsAsJavaScriptObjects, getFieldState, getFieldTitle, getFieldTitle, getFieldVisibilitySubmenuTitle, getFieldWidth, getFieldWidth, getFilterButtonPrompt, getFilterButtonProperties, getFilterByCell, getFilterEditor, getFilterEditorCriteria, getFilterEditorCriteria, getFilterEditorCriteriaAsAdvancedCriteria, getFilterEditorHeight, getFilterEditorProperties, getFilterLocalData, getFilterOnKeypress, getFixedFieldWidths, getFixedRecordHeights, getFocusRow, getFormulaBuilderSpanTitleSeparator, getFormulaFieldValue, getFreezeFieldText, getFreezeOnLeftText, getFreezeOnRightText, getFrozenBaseStyle, getFrozenHeaderBaseStyle, getFrozenHeaderTitleStyle, getGenerateClickOnEnter, getGenerateClickOnSpace, getGenerateDoubleClickOnEnter, getGenerateDoubleClickOnSpace, getGridComponents, getGridRenderer, getGridSummary, getGridSummaryData, getGridSummaryRecordProperty, getGroupByAsyncThreshold, getGroupByFields, getGroupByFieldSummaries, getGroupByMaxRecords, getGroupByText, getGroupIcon, getGroupIconSize, getGroupIndentSize, getGroupLeadingIndent, getGroupNodeBaseStyle, getGroupNodeStyle, getGroupSortDirection, getGroupState, getGroupSummaryData, getGroupSummaryRecordProperty, getGroupSummaryStyle, getGroupTitleColumnProperties, getGroupTitleField, getGroupTree, getGroupTreeSelection, getGroupTreeSelection, getGroupTreeSelection, getHeader, getHeaderAutoFitEvent, getHeaderBackgroundColor, getHeaderBarStyle, getHeaderBaseStyle, getHeaderButtonProperties, getHeaderContextMenu, getHeaderContextMenuItems, getHeaderHeight, getHeaderHoverAlign, getHeaderHoverHeight, getHeaderHoverOpacity, getHeaderHoverStyle, getHeaderHoverVAlign, getHeaderHoverWidth, getHeaderHoverWrap, getHeaderMenuButton, getHeaderMenuButtonHeight, getHeaderMenuButtonIcon, getHeaderMenuButtonIconHeight, getHeaderMenuButtonIconWidth, getHeaderMenuButtonWidth, getHeaderSpan, getHeaderSpanContextMenuItems, getHeaderSpanHeight, getHeaderTitleStyle, getHideEmptySummaryRow, getHiliteCanReplaceValue, getHiliteEditorSpanTitleSeparator, getHiliteHTMLAfterFormat, getHiliteIconHeight, getHiliteIconLeftPadding, getHiliteIconPosition, getHiliteIconRightPadding, getHiliteIcons, getHiliteIconSize, getHiliteIconWidth, getHiliteProperty, getHiliteReplaceValueFieldTitle, getHiliteRowOnFocus, getHilites, getHiliteState, getHoverMode, getHoverStyle, getIconPadding, getImageSize, getIncludeHilitesInSummaryFields, getIncludeInSummaryProperty, getInitialSort, getInstantScrollTrackRedraw, getInvalidSummaryValue, getIsGrouped, getIsSeparatorProperty, getLeaveScrollbarGap, getLinkTextProperty, getListEndEditAction, getLoadingDataMessage, getLoadingDataMessageStyle, getLoadingMessage, getLocateColumnsBy, getLocateRowsBy, getLongTextEditorThreshold, getLongTextEditorType, getMaxExpandedRecords, getMaxExpandedRecordsPrompt, getMinFieldWidth, getMissingSummaryFieldValue, getModalEditing, getNavigateOnTab, getNeverValidate, getNormalBaseStyle, getNormalCellHeight, getNullGroupTitle, getOfflineMessageStyle, getOriginalRecordList, getOriginalResultSet, getOriginBaseStyle, getPoolComponentsPerColumn, getPreventDuplicates, getPrintAutoFit, getPrintBaseStyle, getPrintBooleanBaseStyle, getPrintBooleanFalseImage, getPrintBooleanPartialImage, getPrintBooleanTrueImage, getPrintCheckboxFieldFalseImage, getPrintCheckboxFieldPartialImage, getPrintCheckboxFieldTrueImage, getPrintHeaderStyle, getPrintMaxRows, getPrintWrapCells, getProgressiveLoading, getQuickDrawAheadRatio, getRecord, getRecordBaseStyleProperty, getRecordCanRemoveProperty, getRecordCanSelectProperty, getRecordComponent, getRecordComponent, getRecordComponentHeight, getRecordComponentPoolingMode, getRecordComponentPosition, getRecordDetailDSProperty, getRecordDropAppearance, getRecordDropPosition, getRecordEditProperty, getRecordEnabledProperty, getRecordIndex, getRecordIndex, getRecordList, getRecords, getRecordSummaryBaseStyle, getRelatedDataSource, getRemovedCSSText, getRemoveFieldDefaults, getRemoveFieldProperties, getRemoveFieldTitle, getRemoveIcon, getRemoveIconSize, getRemoveOperation, getReselectOnUpdate, getReselectOnUpdateNotifications, getResizeFieldsInRealTime, getResultSet, getReverseRTLAlign, getRollOverCanvas, getRollUnderCanvas, getRowEndEditAction, getRowErrors, getRowHeight, getRowNum, getRowNumberField, getRowNumberStart, getRowNumberStyle, getRowPageTop, getRowSpan, getRowSpanEditMode, getRowSpanSelectionMode, getRowTop, getSaveByCell, getSaveLocally, getSaveRequestProperties, getScreenReaderCellSeparator, getScreenReaderRowSeparator, getScrollRedrawDelay, getScrollToCellXPosition, getScrollToCellYPosition, getScrollWheelRedrawDelay, getSelectCellTextOnClick, getSelectedCellData, getSelectedRecord, getSelectedRecords, getSelectedRecords, getSelectedState, getSelectHeaderOnSort, getSelection, getSelection, getSelectionAppearance, getSelectionProperty, getSelectionType, getSelectOnEdit, getSelectOnExpandRecord, getShowAllColumns, getShowAllRecords, getShowAsynchGroupingPrompt, getShowBackgroundComponents, getShowCellContextMenus, getShowClippedHeaderTitlesOnHover, getShowClippedValuesOnHover, getShowCollapsedGroupSummary, getShowComplexFields, getShowDetailFields, getShowEmptyMessage, getShowErrorIcons, getShowExpansionEditorSaveButton, getShowFilterEditor, getShowGridSummary, getShowGroupSummary, getShowGroupSummaryInHeader, getShowGroupTitleColumn, getShowHeader, getShowHeaderContextMenu, getShowHeaderMenuButton, getShowHeaderSpanTitlesInFormulaBuilder, getShowHeaderSpanTitlesInHiliteEditor, getShowHeaderSpanTitlesInSortEditor, getShowHiddenFields, getShowHilitesInGroupSummary, getShowHover, getShowHoverComponents, getShowPartialSelection, getShowRecordComponents, getShowRecordComponentsByCell, getShowRollOver, getShowRollOverCanvas, getShowRollUnderCanvas, getShowRowNumbers, getShowSelectedStyle, getShowSelectionCanvas, getShowSelectionUnderCanvas, getShowSortArrow, getShowSortNumerals, getShowTreeColumnPicker, getShrinkForFreeze, getSingleCellValueProperty, getSkinImgDir, getSort, getSortAscendingImage, getSortBinaryByFileName, getSortByGroupFirst, getSortDescendingImage, getSortDirection, getSortEditorSpanTitleSeparator, getSorterButtonTitle, getSortField, getSortFieldAscendingText, getSortFieldCount, getSortFieldDescendingText, getSortNumeralHTML, getSortNumeralStyle, getSortSpecifier, getSortState, getSpanContextMenu, getStopOnErrors, getStyleName, getSummaryFieldValue, getSummaryRow, getSummaryRowCriteria, getSummaryRowDataSource, getSummaryRowFetchRequestProperties, getSummaryRowHeight, getSummaryRowStyle, getTallBaseStyle, getTitleField, getTitleFieldValue, getToggleFreezeText, getTotalRows, getTrackerImage, getUnfreezeFieldText, getUngroupText, getUnremoveIcon, getUpdateOperation, getUseAdvancedFieldPicker, getUseAllDataSourceFields, getUseCellRollOvers, getUseCopyPasteShortcuts, getUseFlatFields, getUseRemoteValidators, getUseRowSpanStyling, getValidateByCell, getValidateOnChange, getValueIcon, getValueIconHeight, getValueIconLeftPadding, getValueIconRightPadding, getValueIconSize, getValueIconWidth, getViewState, getVirtualScrolling, getVisibleRows, getWaitForSave, getWarnOnRemoval, getWarnOnRemovalMessage, getWarnOnUnmappedValueFieldChange, getWrapCells, getWrapHeaderSpanTitles, getWrapHeaderTitles, groupBy, hasChanges, hasErrors, headerHoverHTML, headerTitleClipped, hideField, hideField, hideFields, hideFields, hideFields, hideFields, invalidateCache, invalidateRecordComponents, isCheckboxField, isExpanded, isExpansionField, isExportingClientData, isGrouped, isGroupNode, isPartiallySelected, isRowNumberField, isSelected, isSortField, markForRedraw, markForRedraw, markRecordRemoved, markRecordsRemoved, markRecordsRemoved, markRecordsRemoved, markSelectionRemoved, onInit, openGroup, openRecordDetailGrid, openRecordEditor, preloadImages, recalculateGridSummary, recalculateSummaries, recalculateSummaries, recalculateSummaries, recordClick, recordMarkedAsRemoved, redrawHeader, refreshCell, refreshCell, refreshCellStyle, refreshData, refreshData, refreshFields, refreshRecordComponent, refreshRecordComponent, refreshRow, regroup, removeData, removeData, removeData, removeEmbeddedComponent, removeEmbeddedComponent, removeEmbeddedComponent, removeRecordClick, removeSelectedData, removeSelectedData, removeSelectedData, reorderField, reorderFields, resizeField, resort, rowClick, rowClick, rowDoubleClick, rowDoubleClick, rowHasChanges, rowHasErrors, saveAllEdits, saveAllEdits, saveAllEdits, saveEdits, saveEdits, saveEdits, saveEdits, scrollBodyTo, scrollToCell, scrollToCell, scrollToCell, scrollToColumn, scrollToColumn, scrollToRow, scrollToRow, selectAllRecords, selectRange, selectRange, selectRecord, selectRecord, selectRecord, selectRecord, selectRecords, selectRecords, selectRecords, selectRecords, selectSingleRecord, selectSingleRecord, setAddDropValues, setAddFormulaFieldText, setAddOperation, setAddSummaryFieldText, setAdvancedFieldPickerThreshold, setAllowFilterExpressions, setAllowRowSpanning, setAlternateBodyStyleName, setAlternateFieldFrequency, setAlternateFieldStyles, setAlternateRecordFrequency, setAlwaysShowEditors, setAnimateFolderEffect, setAnimateFolderMaxRows, setAnimateFolders, setAnimateFolderSpeed, setAnimateFolderTime, setAnimateRemoveRecord, setAnimateRemoveSpeed, setAnimateRemoveTime, setAnimateRollOver, setAnimateRollUnder, setAnimateSelection, setAnimateSelectionUnder, setApplyFormulaAfterSummary, setApplyRowNumberStyle, setArrowKeyAction, setAsynchGroupingPrompt, setAutoComplete, setAutoConfirmSaveEdits, setAutoFetchAsFilter, setAutoFetchData, setAutoFetchDisplayMap, setAutoFetchTextMatchStyle, setAutoFitAllText, setAutoFitClipFields, setAutoFitData, setAutoFitExpandField, setAutoFitExtraRecords, setAutoFitFieldsFillViewport, setAutoFitFieldText, setAutoFitFieldWidths, setAutoFitHeaderHeights, setAutoFitIconFields, setAutoFitMaxColumns, setAutoFitMaxHeight, setAutoFitMaxRecords, setAutoFitMaxWidth, setAutoFitWidth, setAutoFitWidthApproach, setAutoSaveEdits, setAutoSizeHeaderSpans, setBadFormulaResultValue, setBodyBackgroundColor, setBodyOverflow, setBooleanBaseStyle, setBooleanFalseImage, setBooleanImageHeight, setBooleanImageWidth, setBooleanPartialImage, setBooleanTrueImage, setCanAcceptDroppedRecords, setCanAddFormulaFields, setCanAddSummaryFields, setCanAutoFitFields, setCancelEditingConfirmationMessage, setCanCollapseGroup, setCanDragRecordsOut, setCanDragSelect, setCanDragSelectText, setCanDropInEmptyArea, setCanEdit, setCanEditFieldAttribute, setCanEditHilites, setCanEditTitles, setCanExpandMultipleRecords, setCanExpandRecordProperty, setCanExpandRecords, setCanFocusInEmptyGrid, setCanFreezeFields, setCanGroupBy, setCanHover, setCanMultiGroup, setCanMultiSort, setCanPickFields, setCanPickOmittedFields, setCanRemoveRecords, setCanReorderFields, setCanReorderRecords, setCanResizeFields, setCanSelectAll, setCanSelectCells, setCanSelectGroups, setCanSort, setCanTabToHeader, setCellFormatter, setCellPadding, setCellValueHoverFormatter, setChartConstructor, setChartType, setCheckboxFieldFalseImage, setCheckboxFieldImageHeight, setCheckboxFieldImageWidth, setCheckboxFieldPartialImage, setCheckboxFieldProperties, setCheckboxFieldTrueImage, setChildExpansionMode, setClearAllSortingText, setClearFilterText, setClearSortFieldText, setClipHeaderTitles, setCollapseGroupOnRowClick, setConfigureGroupingText, setConfigureSortText, setConfirmCancelEditing, setConfirmDiscardEdits, setConfirmDiscardEditsMessage, setData, setDataFetchMode, setDataPageSize, setDataProperties, setDataSource, setDataSource, setDateFormatter, setDateInputFormat, setDatetimeFormatter, setDeepCloneOnEdit, setDefaultFields, setDefaultFieldWidthCustomizer, setDefaultProperties, setDeferRemoval, setDetailDS, setDetailDS, setDetailField, setDiscardEditsOnHideField, setDiscardEditsSaveButtonTitle, setDontAutoDestroyComponent, setDragDataAction, setDragScrollRedrawDelay, setDragTrackerIconCustomizer, setDragTrackerMode, setDragTrackerStyle, setDragTrackerTitleCustomizer, setDrawAheadRatio, setDrawAllMaxCells, setDropValues, setDuplicateDragMessage, setEditByCell, setEditEvent, setEditFailedBaseStyle, setEditFailedCSSText, setEditFormulaFieldText, setEditOnF2Keypress, setEditOnFocus, setEditorCustomizer, setEditorValueMap, setEditorValueMap, setEditPendingBaseStyle, setEditPendingCSSText, setEditProxyConstructor, setEditSummaryFieldText, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValues, setEmptyCellValue, setEmptyMessageStyle, setEnforceVClipping, setEnterKeyEditAction, setEnumCriteriaAsInitialValues, setErrorIconHeight, setErrorIconSrc, setErrorIconWidth, setEscapeKeyEditAction, setExpansionCanEdit, setExpansionComponentPoolingMode, setExpansionEditorSaveDialogPrompt, setExpansionEditorShowSaveDialog, setExpansionFieldFalseImage, setExpansionFieldImageHeight, setExpansionFieldImageWidth, setExpansionFieldTrueImage, setExpansionMode, setExportAll, setExportAlternateRowBGColor, setExportDefaultBGColor, setExportFieldAlignments, setExportFields, setExportFieldWidths, setExportHeaderHeights, setExportRawValues, setExportWidthScale, setExportWrapHeaderTitles, setFastCellUpdates, setFetchDelay, setFetchOperation, setFieldButtonProperties, setFieldCellIcon, setFieldError, setFieldError, setFieldHeaderBaseStyle, setFieldHeaderTitleStyle, setFieldIcon, setFieldPickerFieldProperties, setFieldPickerShowSampleValues, setFieldProperties, setFieldProperties, setFields, setFields, setFieldState, setFieldTitle, setFieldTitle, setFieldVisibilitySubmenuTitle, setFilterButtonPrompt, setFilterButtonProperties, setFilterByCell, setFilterEditorCriteria, setFilterEditorHeight, setFilterEditorProperties, setFilterEditorProperties, setFilterLocalData, setFilterOnKeypress, setFixedFieldWidths, setFixedRecordHeights, setFormulaBuilderSpanTitleSeparator, setFreezeFieldText, setFreezeOnLeftText, setFreezeOnRightText, setFrozenBaseStyle, setFrozenHeaderBaseStyle, setFrozenHeaderTitleStyle, setGenerateClickOnEnter, setGenerateClickOnSpace, setGenerateDoubleClickOnEnter, setGenerateDoubleClickOnSpace, setGridComponents, setGridComponents, setGridSummaryRecordProperty, setGroupByAsyncThreshold, setGroupByField, setGroupByField, setGroupByFieldSummaries, setGroupByMaxRecords, setGroupByText, setGroupIcon, setGroupIconSize, setGroupIndentSize, setGroupLeadingIndent, setGroupNodeBaseStyle, setGroupNodeStyle, setGroupSortDirection, setGroupStartOpen, setGroupStartOpen, setGroupState, setGroupSummaryRecordProperty, setGroupSummaryStyle, setGroupTitleColumnProperties, setGroupTitleField, setHeaderAutoFitEvent, setHeaderBackgroundColor, setHeaderBarStyle, setHeaderBaseStyle, setHeaderButtonProperties, setHeaderHeight, setHeaderHoverAlign, setHeaderHoverFormatter, setHeaderHoverHeight, setHeaderHoverOpacity, setHeaderHoverStyle, setHeaderHoverVAlign, setHeaderHoverWidth, setHeaderHoverWrap, setHeaderMenuButtonHeight, setHeaderMenuButtonIcon, setHeaderMenuButtonIconHeight, setHeaderMenuButtonIconWidth, setHeaderMenuButtonWidth, setHeaderSpanBaseStyle, setHeaderSpanButtonProperties, setHeaderSpanHeaderTitle, setHeaderSpanHeight, setHeaderSpans, setHeaderSpanTitle, setHeaderSpanTitleStyle, setHeaderTitleStyle, setHideEmptySummaryRow, setHiliteCanReplaceValue, setHiliteEditorSpanTitleSeparator, setHiliteHTMLAfterFormat, setHiliteIconHeight, setHiliteIconLeftPadding, setHiliteIconPosition, setHiliteIconRightPadding, setHiliteIcons, setHiliteIconSize, setHiliteIconWidth, setHiliteProperty, setHiliteReplaceValueFieldTitle, setHiliteRowOnFocus, setHilites, setHiliteState, setHoverCustomizer, setHoverMode, setHoverStyle, setIconPadding, setImageSize, setIncludeHilitesInSummaryFields, setIncludeInSummaryProperty, setInitialSort, setInstantScrollTrackRedraw, setInvalidSummaryValue, setIsSeparatorProperty, setLeaveHeaderMenuButtonSpace, setLeaveScrollbarGap, setLinkTextProperty, setListEndEditAction, setLoadingDataMessage, setLoadingDataMessageStyle, setLoadingMessage, setLocateColumnsBy, setLocateRowsBy, setLogicalStructure, setLongTextEditorThreshold, setLongTextEditorType, setMaxExpandedRecords, setMaxExpandedRecordsPrompt, setMinFieldWidth, setMissingSummaryFieldValue, setModalEditing, setNavigateOnTab, setNeverValidate, setNormalBaseStyle, setNormalCellHeight, setNullGroupTitle, setOfflineMessageStyle, setOriginBaseStyle, setPoolComponentsPerColumn, setPreventDuplicates, setPrintAutoFit, setPrintBaseStyle, setPrintBooleanBaseStyle, setPrintBooleanFalseImage, setPrintBooleanPartialImage, setPrintBooleanTrueImage, setPrintCheckboxFieldFalseImage, setPrintCheckboxFieldPartialImage, setPrintCheckboxFieldTrueImage, setPrintHeaderStyle, setPrintMaxRows, setPrintWrapCells, setProgressiveLoading, setQuickDrawAheadRatio, setRecordBaseStyleProperty, setRecordCanRemoveProperty, setRecordCanSelectProperty, setRecordComponentHeight, setRecordComponentPoolingMode, setRecordComponentPosition, setRecordDetailDSProperty, setRecordDropAppearance, setRecordEditProperty, setRecordEnabledProperty, setRecords, setRecordSummaryBaseStyle, setRemovedCSSText, setRemoveFieldProperties, setRemoveFieldTitle, setRemoveIcon, setRemoveIconSize, setRemoveOperation, setReselectOnUpdate, setReselectOnUpdateNotifications, setResizeFieldsInRealTime, setReverseRTLAlign, setRollOverCanvasProperties, setRollUnderCanvasProperties, setRowEndEditAction, setRowErrors, setRowErrors, setRowNumberFieldProperties, setRowNumberStart, setRowNumberStyle, setRowSpanEditMode, setRowSpanSelectionMode, setSaveByCell, setSaveLocally, setSaveRequestProperties, setScreenReaderCellSeparator, setScreenReaderRowSeparator, setScrollRedrawDelay, setScrollToCellXPosition, setScrollToCellYPosition, setScrollWheelRedrawDelay, setSelectCellTextOnClick, setSelectedState, setSelectHeaderOnSort, setSelectionAppearance, setSelectionCanvasProperties, setSelectionProperty, setSelectionType, setSelectionUnderCanvasProperties, setSelectOnEdit, setSelectOnExpandRecord, setShowAllColumns, setShowAllRecords, setShowAsynchGroupingPrompt, setShowBackgroundComponents, setShowCellContextMenus, setShowClippedHeaderTitlesOnHover, setShowClippedValuesOnHover, setShowCollapsedGroupSummary, setShowComplexFields, setShowDetailFields, setShowEmptyMessage, setShowErrorIcons, setShowFilterEditor, setShowGridSummary, setShowGroupSummary, setShowGroupSummaryInHeader, setShowGroupTitleColumn, setShowHeader, setShowHeaderContextMenu, setShowHeaderMenuButton, setShowHeaderSpanTitlesInFormulaBuilder, setShowHeaderSpanTitlesInHiliteEditor, setShowHeaderSpanTitlesInSortEditor, setShowHiddenFields, setShowHilitesInGroupSummary, setShowHover, setShowHoverComponents, setShowPartialSelection, setShowRecordComponents, setShowRecordComponentsByCell, setShowRollOver, setShowRollOverCanvas, setShowRollUnderCanvas, setShowRowNumbers, setShowSelectedStyle, setShowSelectionCanvas, setShowSelectionUnderCanvas, setShowSortArrow, setShowSortNumerals, setShowTreeColumnPicker, setShrinkForFreeze, setSingleCellValueProperty, setSkinImgDir, setSort, setSortAscendingImage, setSortBinaryByFileName, setSortByGroupFirst, setSortDescendingImage, setSortDirection, setSortEditorSpanTitleSeparator, setSorterButtonTitle, setSortField, setSortField, setSortField, setSortFieldAscendingText, setSortFieldDescendingText, setSortNumeralHTMLCustomizer, setSortNumeralStyle, setSortState, setStopOnErrors, setStyleName, setSummaryRowCriteria, setSummaryRowDataSource, setSummaryRowFetchRequestProperties, setSummaryRowHeight, setSummaryRowStyle, setTallBaseStyle, setTitleField, setTrackerImage, setUnfreezeFieldText, setUngroupText, setUnremoveIcon, setUpdateOperation, setUseAdvancedFieldPicker, setUseAllDataSourceFields, setUseCellRollOvers, setUseCopyPasteShortcuts, setUseFlatFields, setUseRemoteValidators, setUserFormula, setUserFormula, setUserFormula, setUserFormulaText, setUserFormulaText, setUserFormulaText, setUseRowSpanStyling, setUserSummary, setUserSummary, setUserSummary, setUserSummaryText, setUserSummaryText, setUserSummaryText, setValidateByCell, setValidateOnChange, setValueIconHeight, setValueIconLeftPadding, setValueIconRightPadding, setValueIconSize, setValueIconWidth, setValueMap, setValueMap, setViewState, setVirtualScrolling, setWaitForSave, setWarnOnRemoval, setWarnOnRemovalMessage, setWarnOnUnmappedValueFieldChange, setWrapCells, setWrapHeaderSpanTitles, setWrapHeaderTitles, shouldIncludeHiliteInSummaryField, showField, showField, showFields, showFields, showFields, showFields, showRecordComponent, sort, sort, sort, sort, startEditing, startEditing, startEditing, startEditing, startEditingNew, startEditingNew, startEditingNew, startEditingNew, stopHover, summaryUpdated, toggleSort, transferSelectedData, transferSelectedData, unfreezeField, unfreezeField, unfreezeField, unfreezeField, unfreezeFields, unfreezeFields, ungroup, unmarkRecordRemoved, unsort, updateData, updateData, updateData, updateRecordComponent, userSelectAllRecords, validateCell, validateCell, validateRow, willAcceptDrop, willFetchData, willFetchData
setDefaultProperties, setLogicalStructure
addMember, addMember, addMember, addMember, addMemberPostCreate, addMemberPostCreate, addMemberPreCreate, addMemberPreCreate, addMembers, addMembers, addMembersChangedHandler, getAnimateMembers, getAnimateMemberTime, getCanDropComponents, getDefaultResizeBars, getDropComponent, getDropLine, getDropLineThickness, getDropPosition, getEnforcePolicy, getHPolicy, getLayoutBottomMargin, getLayoutLeftMargin, getLayoutMargin, getLayoutRightMargin, getLayoutTopMargin, getLocateMembersBy, getLocateMembersType, getManagePercentBreadth, getMember, getMember, getMemberDefaultBreadth, getMemberNumber, getMemberNumber, getMemberOverlap, getMembers, getMembersLength, getMembersMargin, getMinMemberSize, getOverflow, getPaddingAsLayoutMargin, getResizeBar, getResizeBarClass, getResizeBarSize, getReverseOrder, getShowDragPlaceHolder, getShowDropLines, getStackZIndex, getVertical, getVPolicy, hasMember, hideDropLine, hideMember, hideMember, layoutIsDirty, onInit_Layout, reflow, reflow, reflowNow, removeMember, removeMembers, removeMembers, reorderMember, reorderMembers, setAlign, setAlign, setAnimateMembers, setAnimateMemberTime, setCanDropComponents, setDefaultLayoutAlign, setDefaultLayoutAlign, setDefaultProperties, setDefaultResizeBars, setDropLineProperties, setDropLineThickness, setEnforcePolicy, setHPolicy, setLayoutBottomMargin, setLayoutLeftMargin, setLayoutMargin, setLayoutRightMargin, setLayoutTopMargin, setLocateMembersBy, setLocateMembersType, setLogicalStructure, setManagePercentBreadth, setMemberOverlap, setMembers, setMembersMargin, setMinMemberSize, setOverflow, setPaddingAsLayoutMargin, setPlaceHolderDefaults, setPlaceHolderProperties, setResizeBarClass, setResizeBarSize, setReverseOrder, setShowDragPlaceHolder, setShowDropLines, setStackZIndex, setVertical, setVisibleMember, setVPolicy, showMember, showMember
addChild, addChild, addChild, addChild, addChild, addClickHandler, addDoubleClickHandler, addDragMoveHandler, addDragRepositionMoveHandler, addDragRepositionStartHandler, addDragRepositionStopHandler, addDragResizeMoveHandler, addDragResizeStartHandler, addDragResizeStopHandler, addDragStartHandler, addDragStopHandler, addDropHandler, addDropMoveHandler, addDropOutHandler, addDropOverHandler, addFocusChangedHandler, addHoverHandler, addHoverHiddenHandler, addKeyDownHandler, addKeyPressHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseStillDownHandler, addMouseUpHandler, addMouseWheelHandler, addMovedHandler, addParentMovedHandler, addPeer, addPeer, addPeer, addPeer, addResizedHandler, addRightMouseDownHandler, addScrolledHandler, addShowContextMenuHandler, addSnapAlignCandidate, addStyleName, addVisibilityChangedHandler, adjustForContent, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateHide, animateHide, animateHide, animateMove, animateMove, animateMove, animateMove, animateRect, animateRect, animateRect, animateRect, animateResize, animateResize, animateResize, animateResize, animateScroll, animateScroll, animateScroll, animateScroll, animateScroll, animateScroll, animateShow, animateShow, animateShow, animateShow, animateShow, animateShow, asSGWTComponent, blur, bringToFront, clear, clickMaskUp, clickMaskUp, contains, contains, containsEvent, containsFocus, containsPoint, containsPoint, deparent, depeer, disable, enable, encloses, focus, focusInNextTabElement, focusInPreviousTabElement, getAbsoluteLeft, getAbsoluteTop, getAccessKey, getAlwaysShowScrollbars, getAnimateAcceleration, getAnimateFadeTime, getAnimateHideAcceleration, getAnimateHideTime, getAnimateMoveAcceleration, getAnimateMoveTime, getAnimateRectAcceleration, getAnimateRectTime, getAnimateResizeAcceleration, getAnimateResizeTime, getAnimateScrollAcceleration, getAnimateScrollTime, getAnimateShowAcceleration, getAnimateShowEffect, getAnimateShowTime, getAnimateTime, getAppImgDir, getAriaRole, getAutoMaskComponents, getAutoShowParent, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorder, getBottom, getById, getByJSObject, getByLocalId, getCanAcceptDrop, getCanDrag, getCanDragReposition, getCanDragResize, getCanDragScroll, getCanDrop, getCanDropBefore, getCanFocus, getCanSelectText, getCanvasAutoChild, getCanvasItem, getChildren, getChildrenResizeSnapAlign, getChildrenSnapAlign, getChildrenSnapCenterAlign, getChildrenSnapEdgeAlign, getChildrenSnapResizeToGrid, getChildrenSnapToGrid, getClassName, getComponentMask, getComponentMaskDefaults, getContentElement, getContents, getContextMenu, getCursor, getDataPath, getDefaultHeight, getDestroyed, getDestroying, getDisabled, getDisabledCursor, getDisableTouchScrollingForDrag, getDoubleClickDelay, getDragAppearance, getDragIntersectStyle, getDragMaskType, getDragOpacity, getDragRepositionAppearance, getDragRepositionCursor, getDragResizeAppearance, getDragScrollDelay, getDragStartDistance, getDragTarget, getDragType, getDropTypes, getDropTypesAsString, getDynamicContents, getEdgeBackgroundColor, getEdgeCenterBackgroundColor, getEdgeImage, getEdgeMarginSize, getEdgeOffset, getEdgeOpacity, getEdgeShowCenter, getEdgeSize, getEditNode, getEditProxy, getElement, getElement, getEventEdge, getEventEdge, getExtraSpace, getFacetId, getFormItemAutoChild, getFullDataPath, getGroupBorderCSS, getGroupLabelBackgroundColor, getGroupLabelStyleName, getGroupTitle, getHeight, getHeightAsString, getHideUsingDisplayNone, getHoverAlign, getHoverAutoDestroy, getHoverComponent, getHoverDelay, getHoverHeight, getHoverHTML, getHoverMoveWithMouse, getHoverOpacity, getHoverVAlign, getHoverWidth, getHoverWrap, getHSnapOrigin, getHSnapOrigin, getHSnapPosition, getHSnapPosition, getHtmlElement, getHtmlPosition, getImage, getImgURL, getImgURL, getInnerContentHeight, getInnerContentWidth, getInnerHeight, getInnerWidth, getIsGroup, getIsPrinting, getIsSnapAlignCandidate, getKeepInParentRect, getLayoutAlign, getLeavePageSpace, getLeft, getLeftAsString, getLocateChildrenBy, getLocateChildrenType, getLocatePeersBy, getLocatePeersType, getMargin, getMasterCanvas, getMasterElement, getMatchElement, getMaxHeight, getMaxWidth, getMenuConstructor, getMinHeight, getMinNonEdgeSize, getMinWidth, getMomentumScrollMinSpeed, getMouseStillDownDelay, getMouseStillDownInitialDelay, getNextZIndex, getNoDoubleClicks, getNoDropCursor, getOffsetHeight, getOffsetWidth, getOffsetX, getOffsetY, getOpacity, getOuterElement, getPadding, getPageBottom, getPageLeft, getPageRect, getPageRight, getPageTop, getPanelContainer, getParentCanvas, getParentElement, getPeers, getPercentBox, getPercentSource, getPosition, getPrefix, getPrintChildrenAbsolutelyPositioned, getPrintHTML, getPrintHTML, getPrompt, getProportionalResizeModifiers, getProportionalResizing, getRect, getRedrawOnResize, getResizeBarTarget, getResizeFrom, getRight, getScrollbarSize, getScrollBottom, getScrollHeight, getScrollLeft, getScrollRight, getScrollTop, getScrollWidth, getShadowDepth, getShadowImage, getShadowOffset, getShadowSoftness, getShouldPrint, getShowCustomScrollbars, getShowDragShadow, getShowResizeBar, getShowSnapGrid, getShrinkElementOnHide, getSnapAlignCandidates, getSnapAlignCenterLineStyle, getSnapAlignEdgeLineStyle, getSnapAxis, getSnapEdge, getSnapHDirection, getSnapHGap, getSnapOffsetLeft, getSnapOffsetTop, getSnapOnDrop, getSnapPosition, getSnapPosition, getSnapResizeToAlign, getSnapResizeToGrid, getSnapTo, getSnapToAlign, getSnapToCenterAlign, getSnapToEdgeAlign, getSnapToGrid, getSnapVDirection, getSnapVGap, getTabIndex, getTitle, getTooltip, getTop, getTopAsString, getTopElement, getUseBackMask, getUseDragMask, getUseNativeDrag, getUseOpacityFilter, getUseTouchScrolling, getValuesManager, getViewportHeight, getViewportWidth, getVisibility, getVisibleHeight, getVisibleWidth, getVSnapOrigin, getVSnapOrigin, getVSnapPosition, getVSnapPosition, getWidth, getWidthAsString, getZIndex, getZIndex, handleHover, hide, hideClickMask, hideClickMask, hideComponentMask, hideComponentMask, imgHTML, imgHTML, imgHTML, intersects, isDirty, isDisabled, isDrawn, isFocused, isVisible, keyUp, layoutChildren, linkHTML, linkHTML, linkHTML, linkHTML, linkHTML, linkHTML, markForDestroy, moveAbove, moveBelow, moveBy, moveTo, onAttach, onDetach, pageScrollDown, pageScrollUp, parentResized, placeNear, placeNear, placeNear, printComponents, provideRuleContext, redraw, redraw, removeChild, removeChild, removePeer, removePeer, removeSnapAlignCandidate, resizeBy, resizeTo, resizeTo, revealChild, revealChild, scrollBy, scrollByPercent, scrollTo, scrollTo, scrollTo, scrollToBottom, scrollToLeft, scrollToPercent, scrollToRight, scrollToTop, sendToBack, setAccessKey, setAllowExternalFilters, setAlwaysShowScrollbars, setAnimateAcceleration, setAnimateFadeTime, setAnimateHideAcceleration, setAnimateHideTime, setAnimateMoveAcceleration, setAnimateMoveTime, setAnimateRectAcceleration, setAnimateRectTime, setAnimateResizeAcceleration, setAnimateResizeTime, setAnimateScrollAcceleration, setAnimateScrollTime, setAnimateShowAcceleration, setAnimateShowEffect, setAnimateShowTime, setAnimateTime, setAppImgDir, setAriaRole, setAriaState, setAutoChildConstructor, setAutoChildProperties, setAutoChildProperties, setAutoChildProperties, setAutoChildProperties, setAutoChildVisibility, setAutoHeight, setAutoMaskComponents, setAutoShowParent, setAutoWidth, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBottom, setCanAcceptDrop, setCanDrag, setCanDragReposition, setCanDragResize, setCanDragScroll, setCanDrop, setCanDropBefore, setCanFocus, setCanSelectText, setChildren, setChildrenResizeSnapAlign, setChildrenSnapAlign, setChildrenSnapCenterAlign, setChildrenSnapEdgeAlign, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setComponentMaskDefaults, setContents, setContextMenu, setCursor, setDataPath, setDefaultHeight, setDefaultPageSpace, setDefaultProperties, setDisabled, setDisabledCursor, setDisableTouchScrollingForDrag, setDoubleClickDelay, setDragAppearance, setDragIntersectStyle, setDragMaskType, setDragOpacity, setDragRepositionAppearance, setDragRepositionCursor, setDragResizeAppearance, setDragScrollDelay, setDragStartDistance, setDragTarget, setDragType, setDropTypes, setDropTypes, setDynamicContents, setEdgeBackgroundColor, setEdgeCenterBackgroundColor, setEdgeImage, setEdgeMarginSize, setEdgeOffset, setEdgeOpacity, setEdgeShowCenter, setEdgeSize, setEditMode, setEditMode, setEditMode, setElement, setExtraSpace, setFacetId, setGroupBorderCSS, setGroupLabelBackgroundColor, setGroupLabelStyleName, setGroupTitle, setHeight, setHeight, setHeight, setHeight100, setHideUsingDisplayNone, setHoverAlign, setHoverAutoDestroy, setHoverDelay, setHoverHeight, setHoverMoveWithMouse, setHoverOpacity, setHoverVAlign, setHoverWidth, setHoverWrap, setHtmlElement, setHtmlPosition, setImage, setImage, setInitHandler, setIsGroup, setIsSnapAlignCandidate, setKeepInParentRect, setKeepInParentRect, setKeepInParentRect, setLayoutAlign, setLayoutAlign, setLeavePageSpace, setLeft, setLeft, setLocateChildrenBy, setLocateChildrenType, setLocatePeersBy, setLocatePeersType, setLogicalStructure, setMargin, setMatchElement, setMaxHeight, setMaxWidth, setMenuConstructor, setMinHeight, setMinNonEdgeSize, setMinWidth, setMomentumScrollMinSpeed, setMouseStillDownDelay, setMouseStillDownInitialDelay, setNeverUseFilters, setNoDoubleClicks, setNoDropCursor, setOpacity, setPadding, setPageLeft, setPageTop, setParentCanvas, setParentElement, setPeers, setPercentBox, setPercentSource, setPosition, setPrefix, setPrintChildrenAbsolutelyPositioned, setPrompt, setProportionalResizeModifiers, setProportionalResizing, setRect, setRect, setRedrawOnResize, setResizeBarTarget, setResizeFrom, setResizeFrom, setRight, setScrollbarConstructor, setScrollbarSize, setShadowDepth, setShadowImage, setShadowOffset, setShadowSoftness, setShouldPrint, setShowCustomScrollbars, setShowDragShadow, setShowResizeBar, setShowSnapGrid, setShrinkElementOnHide, setSmoothFade, setSnapAlignCandidates, setSnapAlignCenterLineStyle, setSnapAlignEdgeLineStyle, setSnapAxis, setSnapEdge, setSnapHDirection, setSnapHGap, setSnapOffsetLeft, setSnapOffsetTop, setSnapOnDrop, setSnapResizeToAlign, setSnapResizeToGrid, setSnapTo, setSnapToAlign, setSnapToCenterAlign, setSnapToEdgeAlign, setSnapToGrid, setSnapVDirection, setSnapVGap, setTabIndex, setTooltip, setTop, setTop, setUseBackMask, setUseDragMask, setUseNativeDrag, setUseOpacityFilter, setUseTouchScrolling, setValuesManager, setVisibility, setVisible, setWidth, setWidth, setWidth, setWidth100, setZIndex, shouldDragScroll, show, showClickMask, showComponentMask, showComponentMask, showNextTo, showNextTo, showNextTo, showNextTo, showPrintPreview, showPrintPreview, showPrintPreview, showPrintPreview, showRecursively, updateEditNode, updateHover, updateHover, updateShadow, visibleAtPoint
addDrawHandler, applyFactoryProperties, destroy, doAddHandler, doInit, doOnRender, draw, equals, error, errorIfNotCreated, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDateArray, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsFloatArray, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getConfig, getDOM, getHandlerCount, getID, getInnerHTML, getJsObj, getRef, getScClassName, hasAutoAssignedID, hashCode, initNativeObject, internalSetID, internalSetID, isConfigOnly, isCreated, isFactoryCreated, onBind, onDestroy, onDraw, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfigOnly, setDragTracker, setFactoryCreated, setID, setJavaScriptObject, setLogicalStructure, setNullProperty, setPosition, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setScClassName, toString
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getStyleElement, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent
public static final ListGridField ICON_FIELD
public static final ListGridField TITLE_FIELD
public static final ListGridField KEY_FIELD
public static final ListGridField SUBMENU_FIELD
public Menu()
public Menu(com.google.gwt.core.client.JavaScriptObject jsObj)
public static Menu getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
protected Menu getTestInstance()
getTestInstance
in class ListGrid
public static void changeAutoChildDefaults(java.lang.String autoChildName, Canvas defaults)
autoChildName
.autoChildName
- name of an AutoChild to customize the defaults for.defaults
- Canvas defaults to apply. These defaults override any existing properties
without destroying or wiping out non-overridden properties. For usage tips on this
param, see SGWTProperties
.AutoChildUsage
public static void changeAutoChildDefaults(java.lang.String autoChildName, FormItem defaults)
autoChildName
.autoChildName
- name of an AutoChild to customize the defaults for.defaults
- FormItem defaults to apply. These defaults override any existing properties
without destroying or wiping out non-overridden properties. For usage tips on this
param, see SGWTProperties
.AutoChildUsage
protected com.google.gwt.core.client.JavaScriptObject create()
public void setAlternateRecordStyles(java.lang.Boolean alternateRecordStyles)
setAlternateRecordStyles
in class ListGrid
alternateRecordStyles
- Default value is falsepublic java.lang.Boolean getAlternateRecordStyles()
getAlternateRecordStyles
in class ListGrid
public void setAutoDismiss(java.lang.Boolean autoDismiss)
autoDismiss
- Default value is truesetCascadeAutoDismiss(java.lang.Boolean)
public java.lang.Boolean getAutoDismiss()
getCascadeAutoDismiss()
public void setAutoDismissOnBlur(java.lang.Boolean autoDismissOnBlur)
autoDismissOnBlur
- Default value is truepublic java.lang.Boolean getAutoDismissOnBlur()
public void setAutoDraw(java.lang.Boolean autoDraw)
Note : This is an advanced setting
setAutoDraw
in class Canvas
autoDraw
- Default value is falseDrawing overview and related methods
public java.lang.Boolean getAutoDraw()
getAutoDraw
in class Canvas
Drawing overview and related methods
public void setBaseStyle(java.lang.String baseStyle)
setBaseStyle
in class ListGrid
baseStyle
- See CSSStyleName
. Default value is "menu"Appearance overview and related methods
public java.lang.String getBaseStyle()
getBaseStyle
in class ListGrid
CSSStyleName
Appearance overview and related methods
public void setBodyStyleName(java.lang.String bodyStyleName)
iconBodyStyleName
, if set, will override this setting.
If applying a background-color to the body via a CSS style applied using this property, be sure to set bodyBackgroundColor
to null
.
setBodyStyleName
in class ListGrid
bodyStyleName
- See CSSStyleName
. Default value is "normal"setFillSpaceStyleName(java.lang.String)
,
Appearance overview and related methods
public java.lang.String getBodyStyleName()
iconBodyStyleName
, if set, will override this setting.
If applying a background-color to the body via a CSS style applied using this property, be sure to set bodyBackgroundColor
to null
.
getBodyStyleName
in class ListGrid
CSSStyleName
getFillSpaceStyleName()
,
Appearance overview and related methods
public void setCancelButtonTitle(java.lang.String cancelButtonTitle) throws java.lang.IllegalStateException
NavigationBar
is present.cancelButtonTitle
- See HTMLString
. Default value is "Done"java.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.String getCancelButtonTitle()
NavigationBar
is present.HTMLString
public void setCanSelectParentItems(java.lang.Boolean canSelectParentItems)
canSelectParentItems
- Default value is nullSelection overview and related methods
,
Tree Binding Examplepublic java.lang.Boolean getCanSelectParentItems()
Selection overview and related methods
,
Tree Binding Examplepublic void setCascadeAutoDismiss(java.lang.Boolean cascadeAutoDismiss)
autoDismiss
from this menu.cascadeAutoDismiss
- Default value is truepublic java.lang.Boolean getCascadeAutoDismiss()
autoDismiss
from this menu.public void setCellHeight(int cellHeight)
setCellHeight
in class ListGrid
cellHeight
- Default value is 20Sizing overview and related methods
public int getCellHeight()
getCellHeight
in class ListGrid
Sizing overview and related methods
public void setCheckmarkDisabledImage(Img checkmarkDisabledImage) throws java.lang.IllegalStateException
ImgProperties
for
format. Valid src, width and height must be specified.checkmarkDisabledImage
- Default value is {...}java.lang.IllegalStateException
- this property cannot be changed after the component has been createdSGWTProperties
public Img getCheckmarkDisabledImage()
ImgProperties
for
format. Valid src, width and height must be specified.public void setCheckmarkImage(Img checkmarkImage) throws java.lang.IllegalStateException
ImgProperties
for format. Valid
src, width and height must be specified.checkmarkImage
- Default value is {...}java.lang.IllegalStateException
- this property cannot be changed after the component has been createdSGWTProperties
public Img getCheckmarkImage()
ImgProperties
for format. Valid
src, width and height must be specified.public void setData(MenuItem... data)
Tree
in which case a hierarchy of menus and submenus will automatically be generated
to match the tree structure. See also dataSource
for
dynamically fetching menuItems and submenus from a hierarchical DataSource.
data
- new items for this menu. Default value is nullpublic void setData(Record[] data)
Tree
in which case a hierarchy of menus and submenus will automatically be generated
to match the tree structure. See also dataSource
for
dynamically fetching menuItems and submenus from a hierarchical DataSource.
setData
in class ListGrid
data
- new items for this menu. Default value is nullpublic void setData(Tree data)
Tree
in which case a hierarchy of menus and submenus will automatically be generated
to match the tree structure. See also dataSource
for
dynamically fetching menuItems and submenus from a hierarchical DataSource.
data
- new items for this menu. Default value is nullpublic void setData(RecordList data)
Tree
in which case a hierarchy of menus and submenus will automatically be generated
to match the tree structure. See also dataSource
for
dynamically fetching menuItems and submenus from a hierarchical DataSource.
setData
in class ListGrid
data
- new items for this menu. Default value is nullpublic void setDataSource(DataSource dataSource) throws java.lang.IllegalStateException
items
. Data is tree-based in menus, so the provided DataSource
should be set up for hierarchical fetching - see the Tree Data Binding
overview
.
Note that, although Menu is a subclass of ListGrid
, some APIs,
like setCriteria
and autoFetchData
are not supported in menus. If a dataSource
is supplied, it is automatically fetched against as required, without the need for autoFetchData. To apply criteria to
the fetches made in this way, see initialCriteria
.
Moreover, fetchData() is also an example of a ListGrid API that doesn't apply to menu, and, as was done for
setCriteria() and other APIs like setCriteria().
setDataSource
in interface DataBoundComponent
setDataSource
in class ListGrid
dataSource
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdDatabinding overview and related methods
,
DataSource fields Examplepublic DataSource getDataSource()
items
. Data is tree-based in menus, so the provided DataSource
should be set up for hierarchical fetching - see the Tree Data Binding
overview
.
Note that, although Menu is a subclass of ListGrid
, some APIs,
like setCriteria
and autoFetchData
are not supported in menus. If a dataSource
is supplied, it is automatically fetched against as required, without the need for autoFetchData. To apply criteria to
the fetches made in this way, see initialCriteria
.
Moreover, fetchData() is also an example of a ListGrid API that doesn't apply to menu, and, as was done for
setCriteria() and other APIs like setCriteria().
getDataSource
in interface DataBoundComponent
getDataSource
in class ListGrid
public void setDefaultWidth(int defaultWidth)
setDefaultWidth
in class Canvas
defaultWidth
- Default value is 150Sizing overview and related methods
public int getDefaultWidth()
getDefaultWidth
in class Canvas
Sizing overview and related methods
public void setEmptyMessage(java.lang.String emptyMessage)
Note : This is an advanced setting
setEmptyMessage
in class ListGrid
emptyMessage
- See HTMLString
. Default value is "[Empty menu]"public java.lang.String getEmptyMessage()
getEmptyMessage
in class ListGrid
HTMLString
public void setFetchSubmenus(java.lang.Boolean fetchSubmenus) throws java.lang.IllegalStateException
fetchSubmenus
can be set to false to disable this for the whole menu, or can be set false on a per-item
basis via MenuItem.fetchSubmenus
.fetchSubmenus
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Boolean getFetchSubmenus()
fetchSubmenus
can be set to false to disable this for the whole menu, or can be set false on a per-item
basis via MenuItem.fetchSubmenus
.public void setFillSpaceStyleName(java.lang.String fillSpaceStyleName) throws java.lang.IllegalStateException
placement
settings indicate the menu will be filling a portion of
the screen or a panel. Generally this alternative style should not have rounded or excessively large edges. If unset,
then bodyStyleName
is used instead. When there is an
icon field, iconFillSpaceStyleName
, if set,
overrides this setting.
fillSpaceStyleName
- See CSSStyleName
. Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdAppearance overview and related methods
public java.lang.String getFillSpaceStyleName()
placement
settings indicate the menu will be filling a portion of
the screen or a panel. Generally this alternative style should not have rounded or excessively large edges. If unset,
then bodyStyleName
is used instead. When there is an
icon field, iconFillSpaceStyleName
, if set,
overrides this setting.
CSSStyleName
Appearance overview and related methods
public void setIconBodyStyleName(java.lang.String iconBodyStyleName) throws java.lang.IllegalStateException
iconBodyStyleName
is suffixed with "RTL", which allows skins to apply different styles in LTR and RTL
modes. Note: Any skin which uses iconBodyStyleName
should add "RTL" styles as well, even if identical
to LTR styles. Otherwise, menus may lose their styling in RTL mode.
iconBodyStyleName
- See CSSStyleName
. Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdsetIconFillSpaceStyleName(java.lang.String)
,
Appearance overview and related methods
public java.lang.String getIconBodyStyleName()
iconBodyStyleName
is suffixed with "RTL", which allows skins to apply different styles in LTR and RTL
modes. Note: Any skin which uses iconBodyStyleName
should add "RTL" styles as well, even if identical
to LTR styles. Otherwise, menus may lose their styling in RTL mode.
CSSStyleName
getIconFillSpaceStyleName()
,
Appearance overview and related methods
public void setIconFieldProperties(ListGridField iconFieldProperties) throws java.lang.IllegalStateException
See showIcons
for an overview of the icon column.
iconFieldProperties
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic ListGridField getIconFieldProperties()
See showIcons
for an overview of the icon column.
public void setIconFillSpaceStyleName(java.lang.String iconFillSpaceStyleName) throws java.lang.IllegalStateException
placement
settings indicate the menu will be filling a portion of
the screen or a panel. Generally this alternative style should not have rounded or excessively large edges. In RTL
mode, the iconFillSpaceStyleName
is suffixed with "RTL", which allows skins to apply different styles in
LTR and RTL modes. If unset, then iconBodyStyleName
is used instead. Note: Like iconBodyStyleName
, any skin which uses iconFillSpaceStyleName
should add "RTL" styles as well, even if identical to LTR styles. Otherwise, menus may lose their styling in RTL mode.
iconFillSpaceStyleName
- See CSSStyleName
. Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdAppearance overview and related methods
public java.lang.String getIconFillSpaceStyleName()
placement
settings indicate the menu will be filling a portion of
the screen or a panel. Generally this alternative style should not have rounded or excessively large edges. In RTL
mode, the iconFillSpaceStyleName
is suffixed with "RTL", which allows skins to apply different styles in
LTR and RTL modes. If unset, then iconBodyStyleName
is used instead. Note: Like iconBodyStyleName
, any skin which uses iconFillSpaceStyleName
should add "RTL" styles as well, even if identical to LTR styles. Otherwise, menus may lose their styling in RTL mode.
CSSStyleName
Appearance overview and related methods
public void setIconHeight(int iconHeight)
iconHeight
- Default value is 16public int getIconHeight()
public void setIconWidth(int iconWidth)
iconWidth
- Default value is 16public int getIconWidth()
public void setInitialCriteria(Criteria initialCriteria) throws java.lang.IllegalStateException
setCriteria
is not supported in Menus.setInitialCriteria
in interface DataBoundComponent
setInitialCriteria
in class ListGrid
initialCriteria
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdDatabinding overview and related methods
public Criteria getInitialCriteria()
setCriteria
is not supported in Menus.getInitialCriteria
in interface DataBoundComponent
getInitialCriteria
in class ListGrid
Databinding overview and related methods
public void setItems(MenuItem... items)
data
setData()
.items
- new items for this menu. Default value is nullpublic void setKeyFieldProperties(ListGridField keyFieldProperties) throws java.lang.IllegalStateException
See showKeys
for an overview of the key column.
keyFieldProperties
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic ListGridField getKeyFieldProperties()
See showKeys
for an overview of the key column.
public void setMenuButtonWidth(java.lang.Integer menuButtonWidth) throws java.lang.IllegalStateException
MenuButton
generated for it automatically (for example
when included in a MenuBar
, the width that the MenuButton should have. If
unset, the MenuButton will be as wide as menu.width
.menuButtonWidth
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Integer getMenuButtonWidth()
MenuButton
generated for it automatically (for example
when included in a MenuBar
, the width that the MenuButton should have. If
unset, the MenuButton will be as wide as menu.width
.public NavigationBar getNavigationBar() throws java.lang.IllegalStateException
placement
setting indicates that
the menu should be shown filling a portion of the screen or a panel.
For an overview of how to use and configure AutoChildren, see Using AutoChildren
.
java.lang.IllegalStateException
- if this widget has not yet been rendered.public Canvas getNavStack() throws java.lang.IllegalStateException
placement
setting indicates that the menu should be
shown filling a portion of the screen or a panel, navStack
is a container element created to hold the
NavigationBar
and any submenus that are shown by the menu.
For an overview of how to use and configure AutoChildren, see Using AutoChildren
.
java.lang.IllegalStateException
- if this widget has not yet been rendered.public void setPlacement(PanelPlacement placement) throws java.lang.IllegalStateException
Default is to use PanelPlacement
"fillScreen" if isHandset
. In any non-handset device,
placement
is unset, so the menu defaults to normal placement (near the originating MenuButton, or the mouse
for a context menu, or according to left/top/width/height for a manually created Menu).
When using any
placement
setting that fills a portion of the screen or a panel, submenus are displayed by sliding them
into place on top of the currently active menu, and a menu.navigationBar
is used to manage navigation to the main menu (and provide dismissal, via a cancel button
.
placement
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic PanelPlacement getPlacement()
Default is to use PanelPlacement
"fillScreen" if isHandset
. In any non-handset device,
placement
is unset, so the menu defaults to normal placement (near the originating MenuButton, or the mouse
for a context menu, or according to left/top/width/height for a manually created Menu).
When using any
placement
setting that fills a portion of the screen or a panel, submenus are displayed by sliding them
into place on top of the currently active menu, and a menu.navigationBar
is used to manage navigation to the main menu (and provide dismissal, via a cancel button
.
public void setShowAnimationEffect(java.lang.String showAnimationEffect)
"fade"
to fade from transparent to visible,
"slide"
to slide the menu into view, or "wipe"
to have the menu grow into view, revealing its
content as it grows. Can be overridden by passing the 'animationEffect' parameter to 'menu.show()'
Note : This is an advanced setting
showAnimationEffect
- Default value is nullpublic java.lang.String getShowAnimationEffect()
"fade"
to fade from transparent to visible,
"slide"
to slide the menu into view, or "wipe"
to have the menu grow into view, revealing its
content as it grows. Can be overridden by passing the 'animationEffect' parameter to 'menu.show()'public void setShowEdges(java.lang.Boolean showEdges) throws java.lang.IllegalStateException
showEdges
dynamically defaults to false when the placement
setting indicates the Menu will be filling a portion of the screen or a panel.setShowEdges
in class Canvas
showEdges
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Boolean getShowEdges()
showEdges
dynamically defaults to false when the placement
setting indicates the Menu will be filling a portion of the screen or a panel.getShowEdges
in class Canvas
public void setShowIcons(java.lang.Boolean showIcons)
showIcons
- whether the icon column should be displayed. Default value is truepublic java.lang.Boolean getShowIcons()
public void setShowKeys(java.lang.Boolean showKeys)
showKeys
- Default value is truepublic java.lang.Boolean getShowKeys()
public void setShowShadow(java.lang.Boolean showShadow) throws java.lang.IllegalStateException
Developers should be aware that the drop shadow is drawn outside the specified width and height of the widget meaning a widget with shadows takes up a little more space than it otherwise would. A full screen canvas with showShadow set to true as this would be likely to cause browser scrollbars to appear - developers can handle this by either setting this property to false on full-screen widgets, or by setting overflow to "hidden" on the <body> element browser-level scrolling is never intended to occur.
showShadow
dynamically defaults to false when the placement
setting
indicates the Menu will be filling a portion of the screen or a panel.
setShowShadow
in class Canvas
showShadow
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.Boolean getShowShadow()
Developers should be aware that the drop shadow is drawn outside the specified width and height of the widget meaning a widget with shadows takes up a little more space than it otherwise would. A full screen canvas with showShadow set to true as this would be likely to cause browser scrollbars to appear - developers can handle this by either setting this property to false on full-screen widgets, or by setting overflow to "hidden" on the <body> element browser-level scrolling is never intended to occur.
showShadow
dynamically defaults to false when the placement
setting
indicates the Menu will be filling a portion of the screen or a panel.
getShowShadow
in class Canvas
public void setShowSubmenus(java.lang.Boolean showSubmenus)
showSubmenus
- whether the submenu indicator column should be displayed. Default value is truepublic java.lang.Boolean getShowSubmenus()
public void setSubmenuConstructor(java.lang.String submenuConstructor) throws java.lang.IllegalStateException
submenuConstructor
- See SCClassName
. Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.String getSubmenuConstructor()
SCClassName
public void setSubmenuDirection(java.lang.String submenuDirection)
"left"
or "right"
. If
unset, submenus show up on the right by default in Left-to-right text mode, or on the left in Right-to-left text mode
(see Page.isRTL()
).submenuDirection
- Default value is nullpublic java.lang.String getSubmenuDirection()
"left"
or "right"
. If
unset, submenus show up on the right by default in Left-to-right text mode, or on the left in Right-to-left text mode
(see Page.isRTL()
).public void setSubmenuDisabledImage(Img submenuDisabledImage) throws java.lang.IllegalStateException
ImgProperties
for format.submenuDirection
is set to "left"
, the image src
will have the suffix "_left"
appended to it.submenuDisabledImage
- Default value is {...}java.lang.IllegalStateException
- this property cannot be changed after the component has been createdSGWTProperties
public Img getSubmenuDisabledImage()
ImgProperties
for format.submenuDirection
is set to "left"
, the image src
will have the suffix "_left"
appended to it.public void setSubmenuFieldProperties(ListGridField submenuFieldProperties) throws java.lang.IllegalStateException
See showSubmenus
for an overview of the submenu column.
submenuFieldProperties
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic ListGridField getSubmenuFieldProperties()
See showSubmenus
for an overview of the submenu column.
public void setSubmenuImage(Img submenuImage) throws java.lang.IllegalStateException
ImgProperties
for format.submenuDirection
is set to "left"
, the image src
will have the suffix "_left"
appended to it.submenuImage
- Default value is {...}java.lang.IllegalStateException
- this property cannot be changed after the component has been createdSGWTProperties
public Img getSubmenuImage()
ImgProperties
for format.submenuDirection
is set to "left"
, the image src
will have the suffix "_left"
appended to it.public void setTarget(Canvas target)
MenuItem.checkIf()
. Whenever a Menu is shown as a contextMenu by
a widget due to Canvas.contextMenu
being set,
menu.target
is automatically set to the widget that showed the contextMenu.
If this item has any submenus
the target
will be propagated down to these
child menus.
target
- Default value is nullpublic Canvas getTarget()
MenuItem.checkIf()
. Whenever a Menu is shown as a contextMenu by
a widget due to Canvas.contextMenu
being set,
menu.target
is automatically set to the widget that showed the contextMenu.
If this item has any submenus
the target
will be propagated down to these
child menus.
public void setTitleFieldProperties(ListGridField titleFieldProperties) throws java.lang.IllegalStateException
titleFieldProperties
- Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic ListGridField getTitleFieldProperties()
public void setUseKeys(java.lang.Boolean useKeys)
useKeys
- Default value is truepublic java.lang.Boolean getUseKeys()
public void fetchData()
fetchData
in interface DataBoundComponent
fetchData
in class ListGrid
public void fetchData(Criteria criteria)
DataBoundComponent
When fetchData()
is first called, if data has not already been provided via
setData()
, this method will create a ResultSet
, which will be
configured based on component settings such as fetchOperation
and dataPageSize
, as well
as the general purpose dataProperties
. The created ResultSet will automatically send a DSRequest
to retrieve data from the dataSource, and from then on will
automatically manage paging through large datasets, as well as performing filtering and
sorting operations inside the browser when possible - see the ResultSet docs for
details.
NOTE: do not use both autoFetchData
and a
call to fetchData()
- this may result in two DSRequests to fetch data. Use
either autoFetchData
and setAutoFetchCriteria()
or a manual call to fetchData()
passing criteria.
Whether a ResultSet was automatically created or provided via setData()
, subsequent
calls to fetchData() will simply call resultSet.setCriteria()
.
Changes to criteria may or may not result in a DSRequest to the server due to
client-side filtering. You can call
willFetchData(criteria)
to determine if new criteria will
result in a server fetch.
If you need to force data to be re-fetched, you can call
invalidateCache()
and new data will
automatically be fetched from the server using the current criteria and sort direction. NOTE:
when using invalidateCache()
there is no need to also call fetchData()
and in fact this could produce unexpected results.
This method takes an optional callback parameter (set to a DSCallback
)
to fire when the fetch completes. Note that this callback will not fire if no server fetch is performed.
In this case the data is updated synchronously, so as soon as this method completes you
can interact with the new data. If necessary, you can use
resultSet.willFetchData()
to determine whether or not a server
fetch will occur when fetchData()
is called with new criteria.
In addition to the callback parameter for this method, developers can use
resultSet.addDataArrivedHandler
to be notified every time data is loaded.
fetchData
in interface DataBoundComponent
fetchData
in class ListGrid
criteria
- Search criteria. If a DynamicForm
is passed in as this argument instead of a raw criteria object, will be
derived by calling DynamicForm.getValuesAsCriteria()
fetchData()
public void fetchData(Criteria criteria, DSCallback callback)
DataBoundComponent
When fetchData()
is first called, if data has not already been provided via
setData()
, this method will create a ResultSet
, which will be
configured based on component settings such as fetchOperation
and dataPageSize
, as well
as the general purpose dataProperties
. The created ResultSet will automatically send a DSRequest
to retrieve data from the dataSource, and from then on will
automatically manage paging through large datasets, as well as performing filtering and
sorting operations inside the browser when possible - see the ResultSet docs for
details.
NOTE: do not use both autoFetchData
and a
call to fetchData()
- this may result in two DSRequests to fetch data. Use
either autoFetchData
and setAutoFetchCriteria()
or a manual call to fetchData()
passing criteria.
Whether a ResultSet was automatically created or provided via setData()
, subsequent
calls to fetchData() will simply call resultSet.setCriteria()
.
Changes to criteria may or may not result in a DSRequest to the server due to
client-side filtering. You can call
willFetchData(criteria)
to determine if new criteria will
result in a server fetch.
If you need to force data to be re-fetched, you can call
invalidateCache()
and new data will
automatically be fetched from the server using the current criteria and sort direction. NOTE:
when using invalidateCache()
there is no need to also call fetchData()
and in fact this could produce unexpected results.
This method takes an optional callback parameter (set to a DSCallback
)
to fire when the fetch completes. Note that this callback will not fire if no server fetch is performed.
In this case the data is updated synchronously, so as soon as this method completes you
can interact with the new data. If necessary, you can use
resultSet.willFetchData()
to determine whether or not a server
fetch will occur when fetchData()
is called with new criteria.
In addition to the callback parameter for this method, developers can use
resultSet.addDataArrivedHandler
to be notified every time data is loaded.
fetchData
in interface DataBoundComponent
fetchData
in class ListGrid
criteria
- Search criteria. If a DynamicForm
is passed in as this argument instead of a raw criteria object, will be
derived by calling DynamicForm.getValuesAsCriteria()
callback
- callback to invoke when a fetch is complete. Fires only
if server contact was requiredfetchData()
public void fetchData(Criteria criteria, DSCallback callback, DSRequest requestProperties)
fetchData
in interface DataBoundComponent
fetchData
in class ListGrid
criteria
- Search criteria. If a DynamicForm
is passed
in as this argument instead of a raw criteria object, will be derived by
calling DynamicForm.getValuesAsCriteria()
callback
- callback to invoke when a fetch is complete. Fires only if server contact was
requiredrequestProperties
- additional properties to set on the DSRequest that will be issuedpublic MenuItem getItem(int item)
If passed a MenuItem, returns it.
item
- index of the MenuItempublic void hideContextMenu()
hideContextMenu
in class Canvas
Visibility overview and related methods
public com.google.gwt.event.shared.HandlerRegistration addItemClickHandler(ItemClickHandler handler)
Executed when a menu item with no click handler is clicked by the user. This itemClick handler must be specified as a function. It is passed an item parameter that is a reference to the clicked menu item.
addItemClickHandler
in interface HasItemClickHandlers
handler
- the itemClick handlerHandlerRegistration
used to remove this handlerpublic void setCriteria(Criteria criteria)
initialCriteria
to apply criteria to the fetches made by menus.setCriteria
in class ListGrid
criteria
- new criteria to showpublic void setCriteria(AdvancedCriteria criteria)
initialCriteria
to apply criteria to the fetches made by menus.criteria
- new criteria to showpublic java.lang.Boolean showContextMenu()
Visibility overview and related methods
public static void hideAllMenus()
public static void setDefaultProperties(Menu menuProperties)
Note: This method is intended for setting default attributes only and will affect all instances of the underlying class (including those automatically generated in JavaScript). This method should not be used to apply standard EventHandlers or override methods for a class - use a custom subclass instead. Calling this method after instances have been created can result in undefined behavior, since it bypasses any setters and a class instance may have already examined a particular property and not be expecting any changes through this route.
menuProperties
- properties that should be used as new defaults when instances of this class are createdSGWTProperties
protected void onInit_ListGrid()
onInit_ListGrid
in class ListGrid
public Menu getSubmenu(MenuItem item)
menuItem
- to targetpublic void setDataProperties(Tree dataProperties) throws java.lang.IllegalStateException
Menu
that uses a DataSource, these properties will be passed to the
automatically-created ResultTree. This can be used for various customizations such as
modifying the automatically-chosen
parentIdField
.dataProperties
- dataProperties Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdDatabinding overview and related methods
public MenuItem[] getItems()
public void setTitle(java.lang.String title)
public void removeItem(MenuItem item)
public void addItem(MenuItem item)
public void addItem(MenuItem item, int index)
public int getItemNum(MenuItem item)
item
- the MenuItempublic void setItemProperties(int item, MenuItem properties)
item
- index of the MenuItemproperties
- properties to apply to the itempublic java.lang.Boolean setItemChecked(MenuItem item)
item
- MenuItem in question, or it's indexpublic java.lang.Boolean setItemChecked(int item)
item
- MenuItem in question, or it's indexpublic java.lang.Boolean setItemChecked(MenuItem item, boolean newState)
item
- MenuItem in question, or it's indexnewState
- true to check the menu item, false to uncheck it. If not passed, true is assumedpublic java.lang.Boolean setItemChecked(int item, boolean newState)
item
- MenuItem in question, or it's indexnewState
- true to check the menu item, false to uncheck it. If not passed, true is assumedpublic java.lang.Boolean setItemEnabled(MenuItem item)
item
- MenuItem in question, or it's indexpublic java.lang.Boolean setItemEnabled(int item)
item
- MenuItem in question, or it's indexpublic java.lang.Boolean setItemEnabled(MenuItem item, boolean newState)
item
- MenuItem in question, or it's indexnewState
- true to enable the menu item, false to disable it. If not passed, true is assumedpublic java.lang.Boolean setItemEnabled(int item, boolean newState)
item
- MenuItem in question, or it's indexnewState
- true to enable the menu item, false to disable it. If not passed, true is assumedpublic java.lang.Boolean setItemIcon(MenuItem item, java.lang.String newIcon)
item
- MenuItem in question, or it's indexnewIcon
- new icon URLpublic java.lang.Boolean setItemIcon(int item, java.lang.String newIcon)
item
- MenuItem in question, or it's indexnewIcon
- new icon URLpublic java.lang.Boolean setItemIcon(MenuItem item, java.lang.String newIcon, java.lang.String newDisabledIcon)
item
- MenuItem in question, or it's indexnewIcon
- new icon URLnewDisabledIcon
- new icon URL for disabled imagepublic java.lang.Boolean setItemIcon(int item, java.lang.String newIcon, java.lang.String newDisabledIcon)
item
- MenuItem in question, or it's indexnewIcon
- new icon URLnewDisabledIcon
- new icon URL for disabled imagepublic java.lang.Boolean setItemTitle(MenuItem item, java.lang.String newTitle)
item
- MenuItem in question, or it's indexnewTitle
- new titlepublic java.lang.Boolean setItemTitle(int item, java.lang.String newTitle)
item
- MenuItem in question, or it's indexnewTitle
- new titlepublic static Menu getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj, MenuItem parentItem)
public void relinkJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj
in interface DataBoundComponent
getOrCreateJsObj
in class BaseWidget
public void setConfig(com.google.gwt.core.client.JavaScriptObject config)
setConfig
in class BaseWidget
public static void setIconFieldDefaults(ListGridField iconFieldDefaults)
To modify the behavior or appearance of this column, developers may set iconFieldProperties
at the
instance level, or iconFieldDefaults
to affect all instances of the class. See showIcons
for an overview of the icon
column.
iconFieldDefaults
- public static ListGridField getIconFieldDefaults()
To modify the behavior or appearance of this column, developers may set iconFieldProperties
at the
instance level, or iconFieldDefaults
to affect all instances of the class. See showIcons
for an overview of the icon
column.
iconFieldDefaults
- Default value is objectpublic static void setKeyFieldDefaults(ListGridField keyFieldDefaults)
To modify the behavior or appearance of this column, developers may set keyFieldProperties
at the
instance level, or keyFieldDefaults
to affect all instances of the class. See showKeys
for an overview of the key
column.
keyFieldDefaults
- Default value is objectpublic static ListGridField getKeyFieldDefaults()
To modify the behavior or appearance of this column, developers may set keyFieldProperties
at the
instance level, or keyFieldDefaults
to affect all instances of the class. See showKeys
for an overview of the key
column.
keyFieldDefaults
- Default value is objectpublic static void setSubmenuFieldDefaults(ListGridField submenuFieldDefaults)
To modify the behavior or appearance of this column, developers may set submenuFieldProperties
at the instance level, or submenuFieldDefaults
to
affect all instances of the class. See showSubmenus
for an overview of
the submenu column.
submenuFieldDefaults
- Default value is objectpublic static ListGridField getSubmenuFieldDefaults()
To modify the behavior or appearance of this column, developers may set submenuFieldProperties
at the instance level, or submenuFieldDefaults
to
affect all instances of the class. See showSubmenus
for an overview of
the submenu column.
submenuFieldDefaults
- Default value is objectpublic static void setTitleFieldDefaults(ListGridField titleFieldDefaults)
To modify the behavior or appearance of this column, developers may set titleFieldProperties
at
the instance level, or titleFieldDefaults
to
affect all instances of the class
titleFieldDefaults
- Default value is objectpublic static ListGridField getTitleFieldDefaults()
To modify the behavior or appearance of this column, developers may set titleFieldProperties
at
the instance level, or titleFieldDefaults
to
affect all instances of the class
titleFieldDefaults
- Default value is objectpublic com.smartgwt.logicalstructure.core.LogicalStructureObject setLogicalStructure(com.smartgwt.logicalstructure.widgets.menu.MenuLogicalStructure s)
LogicalStructure
interface,
which supports Eclipse's logical structure debugging facility.public com.smartgwt.logicalstructure.core.LogicalStructureObject getLogicalStructure()
LogicalStructure
interface,
which supports Eclipse's logical structure debugging facility.getLogicalStructure
in interface LogicalStructure
getLogicalStructure
in class ListGrid