Package | org.igniterealtime.xiff.data.im |
Class | public class RosterGroup |
Inheritance | RosterGroup ![]() |
Implements | IRosterGroup |
Property | Defined By | ||
---|---|---|---|
items : ICollection [read-only]
Roster items in this group. | RosterGroup | ||
label : String | RosterGroup | ||
shared : Boolean | RosterGroup |
Method | Defined By | ||
---|---|---|---|
RosterGroup(label:String)
Create a new group with the given name
| RosterGroup | ||
addItem(item:IRosterItemVO):void
Insert a new roster item if it does not already exist in this group
| RosterGroup | ||
contains(item:IRosterItemVO):Boolean
Does the given item exist in this group?
| RosterGroup | ||
removeItem(item:IRosterItemVO):Boolean
Remove the given roster item from this group. | RosterGroup |
items | property |
items:ICollection
[read-only] Roster items in this group.
public function get items():ICollection
label | property |
label:String
public function get label():String
public function set label(value:String):void
shared | property |
shared:Boolean
public function get shared():Boolean
public function set shared(value:Boolean):void
RosterGroup | () | Constructor |
public function RosterGroup(label:String)
Create a new group with the given name
Parameterslabel:String |
addItem | () | method |
public function addItem(item:IRosterItemVO):void
Insert a new roster item if it does not already exist in this group
Parameters
item:IRosterItemVO |
contains | () | method |
public function contains(item:IRosterItemVO):Boolean
Does the given item exist in this group?
Parameters
item:IRosterItemVO |
Boolean — |
removeItem | () | method |
public function removeItem(item:IRosterItemVO):Boolean
Remove the given roster item from this group.
Parameters
item:IRosterItemVO |
Boolean |