Class ImageTextMark
Class ImageTextMark
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----ImageTextMark
- public class ImageTextMark
- extends Panel
A component that displays
a line of Text, and an image. The image is displayed LEFT of the Component
The TextComponent can be focussed. Only the Label gets a hilight Focus.
-
ImageTextMark()
- Constructs an Empty Image an an Empty Text
-
ImageTextMark(String, String)
- Constructs a new label with the specified String of text.
-
itemStateChanged(ItemEvent)
- we implement the Standard behavior if a TextMarkComponent is
clicked
ImageTextMark
public ImageTextMark()
- Constructs an Empty Image an an Empty Text
ImageTextMark
public ImageTextMark(String labelText,
String URL)
- Constructs a new label with the specified String of text.
And the image, specified with the image path (or URL)
- Parameters:
- labelText - the text that makes up the label
- path - the path to the image
itemStateChanged
public void itemStateChanged(ItemEvent e)
- we implement the Standard behavior if a TextMarkComponent is
clicked