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.

Constructor Index

 o ImageTextMark()
Constructs an Empty Image an an Empty Text
 o ImageTextMark(String, String)
Constructs a new label with the specified String of text.

Method Index

 o itemStateChanged(ItemEvent)
we implement the Standard behavior if a TextMarkComponent is clicked

Constructors

 o ImageTextMark
  public ImageTextMark()
Constructs an Empty Image an an Empty Text
 o 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

Methods

 o itemStateChanged
  public void itemStateChanged(ItemEvent e)
we implement the Standard behavior if a TextMarkComponent is clicked