|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.swing.icons.StringPlusIcon edu.northwestern.at.utils.swing.icons.IconPlusString
public class IconPlusString
A string which knows how to prepend an icon to its JLabel.
Field Summary |
---|
Fields inherited from class edu.northwestern.at.utils.swing.icons.StringPlusIcon |
---|
icon, value |
Constructor Summary | |
---|---|
IconPlusString(java.lang.String value,
javax.swing.Icon icon)
|
Method Summary | |
---|---|
void |
addIcon(javax.swing.JLabel label)
Prepends the icon to the JLabel. |
Methods inherited from class edu.northwestern.at.utils.swing.icons.StringPlusIcon |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IconPlusString(java.lang.String value, javax.swing.Icon icon)
Method Detail |
---|
public void addIcon(javax.swing.JLabel label)
addIcon
in interface AddIcon
addIcon
in class StringPlusIcon
label
- The JLabel.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |