|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cbse.jeasy.JEObject
de.cbse.jeasy.JEImageIcon
public class JEImageIcon
Implements a ImageIcon. To be able to sort icons in a table it has an order property.
See a demonstration in the program JEasyExample tab "Sortable icon".
Properties :
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
JEImageIcon(JELocaleProperties hm)
Reads the properties from a HashMap |
|
JEImageIcon(JENode jen)
Constructor based on a XML file parsed to a TreeNode. |
|
| Method Summary | |
|---|---|
javax.swing.ImageIcon |
getIcon()
|
java.lang.String |
getOrder()
Gets the order string used when sorting images in a table |
void |
init()
Creates Java or SWING objects with the given properties. |
void |
setIcon(javax.swing.ImageIcon icon)
|
void |
setOrder(java.lang.String order)
Sets a order string used when sorting images in a table |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JEImageIcon(JELocaleProperties hm)
hm - HashMappublic JEImageIcon(JENode jen)
jen - JESaxParser| Method Detail |
|---|
public void init()
JEObject
init in class JEObjectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setOrder(java.lang.String order)
order - public java.lang.String getOrder()
order - public javax.swing.ImageIcon getIcon()
public void setIcon(javax.swing.ImageIcon icon)
icon -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||