Class PopupItem
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PopupItem

public class netscape.application.PopupItem
    extends netscape.application.ListItem
{
    /* Constructors
     */
    public PopupItem();

    /* Methods
     */
    public void decode(Decoder);
    public void describeClassInfo(ClassInfo);
    public void drawInRect(Graphics, Rect);
    public void encode(Encoder);
    public Popup popup();
    public void setPopup(Popup);
}
ListItem subclass representing a single entry in the ListView maintained by a Popup.
See Also:
ListView

Constructors

PopupItem

  public PopupItem()
Constructs an empty PopupItem.

Methods

setPopup

  public void setPopup(Popup aPopup)
Sets the Popup that maintains this PopupItem.

popup

  public Popup popup()
Returns the Popup that maintains this PopupItem.
See Also:
setPopup

drawInRect

  public void drawInRect(Graphics g,
                         Rect boundsRect)
Called by ListView to draw the PopupItem.
Overrides:
drawInRect in class ListItem

describeClassInfo

  public void describeClassInfo(ClassInfo info)
Describes the PopupItem class' information.
Overrides:
describeClassInfo in class ListItem
See Also:
describeClassInfo

encode

  public void encode(Encoder encoder) throws CodingException
Archives the PopupItem instance.
Overrides:
encode in class ListItem
See Also:
encode

decode

  public void decode(Decoder decoder) throws CodingException
Unarchives the PopupItem instance.
Overrides:
decode in class ListItem
See Also:
decode

All Packages  Class Hierarchy  This Package  Previous  Next  Index