Package | com.google.maps |
Class | public class CopyrightNotice |
Method | Defined by | ||
---|---|---|---|
CopyrightNotice(prefix:String, copyrightTexts:Array)
Construct a CopyrightNotice from a text prefix and an array of elements of
type String representing the individual copyright notices.
| CopyrightNotice | ||
getPrefix():String
Retrieves the copyright prefix.
| CopyrightNotice | ||
getTexts():Array
Retrieves the array of copyright texts.
| CopyrightNotice | ||
toString():String
Returns a single string made up of the prefix followed by a list of
the text array elements.
| CopyrightNotice |
CopyrightNotice | () | constructor |
public function CopyrightNotice(prefix:String, copyrightTexts:Array)
Construct a CopyrightNotice from a text prefix and an array of elements of type String representing the individual copyright notices. Note that this class stores a reference to this array, rather than cloning the elements.
Parametersprefix:String — Copyright prefix.
|
|
copyrightTexts:Array — Text of each copyright.
|
getPrefix | () | method |
public function getPrefix():String
Retrieves the copyright prefix.
ReturnsString — Copyright prefix.
|
getTexts | () | method |
public function getTexts():Array
Retrieves the array of copyright texts. Each element in this array is of type String.
ReturnsArray — Copyright texts.
|
toString | () | method |
public function toString():String
Returns a single string made up of the prefix followed by a list of the text array elements.
ReturnsString — String representation of this instance.
|
var notice:CopyrightNotice = new CopyrightNotice( "Copyright", [ "Company A", "Company B" ]); trace(notice.toString()); // outputs "Copyright Company A, CompanyB"