ElegantJ Tables Java API Specification v1.1

com.elegantj.awt.table
Class CheckboxObject

java.lang.Object
  extended bycom.elegantj.awt.table.CheckboxObject
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class CheckboxObject
extends java.lang.Object
implements java.io.Externalizable

CheckboxObject for the CheckboxTreeCellEditor and CheckboxTreeCellRenderer

See Also:
Serialized Form

Constructor Summary
CheckboxObject()
          Default constructor
CheckboxObject(boolean state, java.lang.String label)
          Constructs the CheckboxObject
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLabel()
          Returns the label of the checkbox
 boolean getState()
          Returns the state of the checkbox
 void readExternal(java.io.ObjectInput in)
          Implementation of the Externalizable
 void setLabel(java.lang.String label)
          Sets the state of the label
 void setState(boolean state)
          Sets the state of the checkbox
 java.lang.String toString()
          Returns the string representation of the Checkbox Object
 void writeExternal(java.io.ObjectOutput out)
          Implementation of the Externalizable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckboxObject

public CheckboxObject()
Default constructor


CheckboxObject

public CheckboxObject(boolean state,
                      java.lang.String label)
Constructs the CheckboxObject

Parameters:
state - The state for the checkbox
label - The label for the checkbox
Method Detail

setState

public void setState(boolean state)
Sets the state of the checkbox


getState

public boolean getState()
Returns the state of the checkbox

Returns:
The state of the checkbox

setLabel

public void setLabel(java.lang.String label)
Sets the state of the label


getLabel

public java.lang.String getLabel()
Returns the label of the checkbox

Returns:
The label of the checkbox

toString

public java.lang.String toString()
Returns the string representation of the Checkbox Object


equals

public boolean equals(java.lang.Object obj)

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException,
                          java.awt.IllegalComponentStateException
Implementation of the Externalizable

Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.awt.IllegalComponentStateException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Implementation of the Externalizable

Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

ElegantJ Tables Java API Specification v1.1

Submit a bug or feature

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.