jsbeans

jsbeans  1.0.0

jsbeans > jsbeans > jsbeans.AccordionItem
Search:
 
Filters

Class jsbeans.AccordionItem

AccordionItem represents an element inside an AccordionFolder.

Constructor

jsbeans.AccordionItem ( accordionFolder , [default_accordion_item] )
Parameters:
accordionFolder <AccordionFolder> the parent container
[default_accordion_item] <boolean> true if this AccordionItem is the one opened by default. Optional.

Methods

getContent

String getContent ( )
Returns the actual content of this AccordionItem
Returns: String
actual_content

getText

String getText ( )
Returns the actual text, meaning its title, of this AccordionItem.
Returns: String
actual_title

setContent

void setContent ( the_content_to_set )
Sets the actual content. It may be text or HTML.
Parameters:
the_content_to_set <String>
Returns: void

setText

void setText ( actual_title )
Sets the actual title of this AccordionItem
Parameters:
actual_title <String>
Returns: void

toString

String toString ( )
Override of toString. It returns the string 'jsbeans.AccordionItem'
Returns: String
'jsbeans.AccordionItem'


Copyright © 2016 Francesco Mele. All rights reserved.