Home > Contents > Index >
IList.rename
Renames this list.
Syntax
public void rename(String newname)Parameters
newname
- The name of the new list.
Description
The
rename
method renames a list. BothRenameList()
and theRENAMELIST
tag callrename
. Usingrename
might change the name of a list from what Sites is using. If renaming is not desired, therename
method will not alter the list name. If you want to rename a list, use an implementation similar to:public void rename(String newname) {mName=newname;}Example
dataList.rename("renamelist");See Also
RenameList()
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.