|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrcx.rcxtools.filebrowser.ListNode
public class ListNode
The representation of a list entry of a ListBrowser. An ListNode is used internally by the ListBrowser to store informations related to an entry.
Constructor Summary | |
---|---|
ListNode(java.awt.Image image,
java.awt.Image simage,
java.lang.String name,
java.lang.Object item)
Constructs a new ListNode with the specified image, name
and item. |
|
ListNode(java.net.URL url,
java.net.URL surl,
java.lang.String name,
java.lang.Object item)
Constructs a new ListNode . |
Method Summary | |
---|---|
java.awt.Image |
getIconImage()
Gets the Image of this icon. |
java.net.URL |
getIconURL()
Gets the URL of this IconNode. |
java.lang.Object |
getItem()
Gets the item of this node. |
boolean |
isSelected()
Returns true if this node is selected, false otherwise. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListNode(java.net.URL url, java.net.URL surl, java.lang.String name, java.lang.Object item)
ListNode
.
url
- the icon urlsurl
- the selected icon urlname
- the entry nameitem
- the client datapublic ListNode(java.awt.Image image, java.awt.Image simage, java.lang.String name, java.lang.Object item)
ListNode
with the specified image, name
and item.
image
- the iconsimage
- the selected iconname
- the entry nameitem
- the client dataMethod Detail |
---|
public boolean isSelected()
public java.net.URL getIconURL()
public java.lang.Object getItem()
public java.awt.Image getIconImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |