biz.chitec.qdemo.swing
Class ListItemDemo
java.lang.Object
biz.chitec.qdemo.swing.ListItemDemo
- public class ListItemDemo
- extends java.lang.Object
Listitem with a ImageIcon and a Sring value.
- Version:
- $Id: 72ba3ba97af45d5010784d523aee6e7bb3b38529 $
creates a ListItem with icon and String
- Author:
- ir
Field Summary |
private javax.swing.ImageIcon |
icon
|
private java.lang.String |
text
|
Constructor Summary |
ListItemDemo(javax.swing.ImageIcon ic,
java.lang.String text)
|
Method Summary |
javax.swing.ImageIcon |
getIcon()
|
java.lang.String |
getText()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
icon
private javax.swing.ImageIcon icon
text
private java.lang.String text
ListItemDemo
public ListItemDemo(javax.swing.ImageIcon ic,
java.lang.String text)
getIcon
public javax.swing.ImageIcon getIcon()
getText
public java.lang.String getText()