The methods of the GrowableListModel class are listed below. For a complete list of GrowableListModel class members, see the GrowableListModel Members topic.
![]() | Adds one row at the bottom of the list and sets the following values: First column: m_nNextIndex Second column: m_sDefaultValue |
![]() | Adds an array of new rows to the list. |
![]() | |
![]() | |
![]() | |
![]() | Gets the array of checked rows and delete them from the list. |
![]() | DCA - Choose not to display add button |
![]() | DCA - Disable check boxes. |
![]() | Enables the pagination. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Returns icon for the add action. |
![]() | Returns the alt text for the add icon. |
![]() | Returns the String to display next to the add icon. |
![]() | Returns the alert message to display in the JavaScript. |
![]() | Returns the message to display by the JavaScript when the list is empty. |
![]() | ROB: Make the available for other models. |
![]() | Returns the array of column titles, associated column IDs and column width. |
![]() | Returns the client validation type. |
![]() | |
![]() | |
![]() | Returns icon for the delete action. |
![]() | Returns the alt text for the delete icon. |
![]() | JF- Returns the confirmation message to display when the user tries to delete a row. |
![]() | Returns the secondary String to display when the String is empty. (Should give instructions to the user on what to do). |
![]() | Returns the main String to diplay when the list is empty. |
![]() | Returns true if the move up and down buttons should be displayed. (use GetHTMLForMoveRowActions in ExpListView to dsiplay the HTMl on each row) |
![]() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Returns the value of the m_bIsReadOnly member variable. If this is true, the user will not be able to perform any action on the list. |
![]() | Returns the array of data. |
![]() | Returns the key of the expandable list. (This key is used to avoid conflicts when there are multiple lists on the same page.) |
![]() | This method should ge used by the client to get back the array of values at the end of the Editor and store them. |
![]() | Returns the column ID of the primary sorted column. (the array can be sorted by multiple columns) |
![]() | Returns the sort direction of the primary sorted column. |
![]() | Returns the storage key of this Model. |
![]() | Returns the Class name. |
![]() | |
![]() | |
![]() | Returns a read-only interface of the data. |
![]() | Returns the icon to display on each row before the input text. If the value is null, no icon is displayed. |
![]() | Returns the section title. |
![]() | JF- Returns table intructions |
![]() | Gets the Type of the current instance. |
![]() | Creates dynamically a unique int and returns it. This method can be used for repost actions for example. This is to make sure that if there are more than one expandable list on the same dislpay page, there won't be any conflict between the two lists. |
![]() | Creates dynamically a unique name with the list key and returns it. This is to make sure that if there are more than one expandable list on the same dislpay page, there won't be any conflict between the two lists. This method should be used to create unique input names. It can also be used for JavaScript function names (other than postToSelf - for this one you just need to use the GetUniqueInt method to make sure your repost actions and other int values are unique). |
![]() | |
![]() | JF- Returns the wrap attribute for the column headers. |
![]() | Inits the Model with the Activity Space. |
![]() | Initializes the expandable list. |
![]() | Initializes the expandable list. |
![]() | Initializes the read-only expandable list. |
![]() | Initalizes the list (PTGrowableSortedArrayWrapper) with a column mapping and an array of sort. The growable array will always be sorted by the 1st column ascending. |
![]() | DCA - Check if add button is to be displayed |
![]() | DCA - Check to see if check boxes has been disabled. |
![]() | Returns true if the pagination is enabled for this expandable list. |
![]() | Action for modifying a row |
![]() | Gets the row index back and the move action back. Then perform the associated action. |
![]() | Reverses the sort of the primary sorted column. |
![]() | Saves the data when a repost occurs. Editors using this framework need to call that method from the savePage method of the main Model. |
![]() | The delete icon will be set by default to add.gif. Use that method if you want to change it. |
![]() | Sets the value of the alt text for the add icon. This is optional, by default this is set to empty String. |
![]() | Sets the type of JavaScript validation for the rows. The type should be a CLIENT_VALIDATION_TYPE_ constant. |
![]() | Sets a new default value. By default this is an empty string. This value is used on add to populate the input text of the newly added row. |
![]() | The delete icon will be set by default to delete.gif. Use that method if you want to change it. |
![]() | Sets the value of the alt text for the delete icon. This is optional, by default this is set to empty String. |
![]() | JF- Sets the confirmation message to display when the user tried to delete a row. |
![]() | Sets messages to display when the list is empty. |
![]() | Enable the JavaScript validation to ensure that the list is not empty. The String in argument will be displayed by the JavaScript alert. And the String returned is the JavaScript name that should be registered for validation in the Editor. The name returned will be prefixed with the Expandable List key to avoid conflicts. |
![]() | Set this flag to true if you want to display the move up and down buttons at the end of each row. Warning: if this is set to true, then the sort by column will NOT be available anymore. |
![]() | Changes the value of the m_bIsReadOnly member variable. If the list is read only, no action will be displayed in the action bar. |
![]() | Sets a new value for this list key. |
![]() | |
![]() | Sets the icon to display on each row before the input text. By default, no icon is displayed. |
![]() | Sets the section title. |
![]() | JF- Sets table intructions. |
![]() | JF- Sets the wrap cell attribute for the column headers. Is true by default. |
![]() | Gets the column ID back from the form data and resort the array by that column ID, ascending. |
![]() | Returns a String that represents the current Object. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Helper method to retrieve the move action type from the form data. |
![]() | Helper method to retrieve the row index from the form data. |
![]() | Creates a shallow copy of the current Object. |
![]() | Moves the row identified by the index in argument, one row down. The idea is that we are going to change the value of the index column. We just need to swap that value with the one of the row just after. |
![]() | Moves the row identified by the index in argument, to the top of the list. |
![]() | Moves the row identified by the index in argument, to the last position of the list. |
![]() | Moves the row identified by the index in argument, one row up. The idea is that we are going to change the value of the index column. We just need to swap that value with the one of the previous row. |
![]() | Saves the data on the row _nRowIndex. |
GrowableListModel Class | com.plumtree.uiinfrastructure.expandablelist.growablelist Namespace