Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

com::cosylab::gui::components::r2::CheckListModel::CheckListElement Class Reference

List of all members.

Public Member Functions

 CheckListElement (Object element)
 CheckListElement (Object element, boolean isChecked)
final boolean equals (Object other)
java.lang.Object getElement ()
boolean isChecked ()
void setChecked (boolean newChecked)
void setElement (java.lang.Object newElement)
final void toggleChecked ()
final String toString ()

Private Attributes

boolean checked = false
Object element = null

Detailed Description

Delegate class used to store objects and provide checked property in CheckListModel transparently. Creation date: (24-Oct-01 11:48:40 AM)
Author:
:


Constructor & Destructor Documentation

com::cosylab::gui::components::r2::CheckListModel::CheckListElement::CheckListElement Object  element  )  [inline]
 

CheckListItem constructor comment.

com::cosylab::gui::components::r2::CheckListModel::CheckListElement::CheckListElement Object  element,
boolean  isChecked
[inline]
 


Member Function Documentation

final boolean com::cosylab::gui::components::r2::CheckListModel::CheckListElement::equals Object  other  )  [inline]
 

Implements standard comparison for equality.

Instead of comparing delegate CheckListItem it compares the actual objects stored in them. Uses the equals method of these objects. Returns false if invalid type case.

java.lang.Object com::cosylab::gui::components::r2::CheckListModel::CheckListElement::getElement  )  [inline]
 

Gets the element stored in this wrapper.

Creation date: (12/25/2001 16:32:42)

Returns:
java.lang.Object

boolean com::cosylab::gui::components::r2::CheckListModel::CheckListElement::isChecked  )  [inline]
 

Returns checked state of the element.

Creation date: (12/25/2001 16:23:27)

Returns:
boolean

void com::cosylab::gui::components::r2::CheckListModel::CheckListElement::setChecked boolean  newChecked  )  [inline]
 

Sets the checked state of this element.

Creation date: (12/25/2001 16:23:27)

Parameters:
newChecked boolean

void com::cosylab::gui::components::r2::CheckListModel::CheckListElement::setElement java.lang.Object  newElement  )  [inline]
 

Sets the element contained in this element.

Creation date: (12/25/2001 16:32:42)

Parameters:
newElement java.lang.Object

final void com::cosylab::gui::components::r2::CheckListModel::CheckListElement::toggleChecked  )  [inline]
 

Toggles the checked state of this element

final String com::cosylab::gui::components::r2::CheckListModel::CheckListElement::toString  )  [inline]
 


Member Data Documentation

boolean com::cosylab::gui::components::r2::CheckListModel::CheckListElement::checked = false [private]
 

Object com::cosylab::gui::components::r2::CheckListModel::CheckListElement::element = null [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:12:27 2009 for ACS Java API by doxygen 1.3.8