com.elegantj.jfc.list
Class RowCellRenderer
java.lang.Object
com.elegantj.jfc.list.RowCellRenderer
- All Implemented Interfaces:
- java.io.Externalizable, javax.swing.ListCellRenderer, java.io.Serializable
- public class RowCellRenderer
- extends java.lang.Object
- implements javax.swing.ListCellRenderer, java.io.Externalizable
The RowCellRenderer class is used to render the list
- See Also:
- Serialized Form
|
Method Summary |
javax.swing.ListCellRenderer |
getDefaultRenderer()
Gets the default renderer which is applied when the row wise editor is not found |
java.awt.Component |
getListCellRendererComponent(javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
|
void |
readExternal(java.io.ObjectInput in)
|
void |
setDefaultRenderer(javax.swing.ListCellRenderer cellRenderer)
Sets the default renderer which is applied when the row wise renderer is not found |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowCellRenderer
public RowCellRenderer()
setDefaultRenderer
public void setDefaultRenderer(javax.swing.ListCellRenderer cellRenderer)
- Sets the default renderer which is applied when the row wise renderer is not found
getDefaultRenderer
public javax.swing.ListCellRenderer getDefaultRenderer()
- Gets the default renderer which is applied when the row wise editor is not found
getListCellRendererComponent
public java.awt.Component getListCellRendererComponent(javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
- Specified by:
getListCellRendererComponent in interface javax.swing.ListCellRenderer
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Submit a bug or feature
Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.