public class SelectedObject
extends java.lang.Object
Constructor and Description |
---|
SelectedObject(javax.swing.Icon icon,
java.lang.Object object)
Creates an instance of SelectedObject by specifying the
icon and object associated with it.
|
SelectedObject(java.lang.String text,
javax.swing.Icon icon,
java.lang.Object object)
Creates an instance of SelectedObject by specifying the text,
icon and object associated with it.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon()
Returns the icon of this SelectedObject.
|
java.lang.Object |
getObject()
Returns the real object behind this SelectedObject.
|
java.lang.String |
getText()
Returns the text of this SelectedObject.
|
public SelectedObject(java.lang.String text, javax.swing.Icon icon, java.lang.Object object)
text
- The text.icon
- The icon.object
- The object.public SelectedObject(javax.swing.Icon icon, java.lang.Object object)
icon
- The icon.object
- The object.public java.lang.String getText()
public javax.swing.Icon getIcon()
public java.lang.Object getObject()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.