Tesseract  3.02
com.google.scrollview.ui.SVEmptyMenuItem Class Reference
Inheritance diagram for com.google.scrollview.ui.SVEmptyMenuItem:
com.google.scrollview.ui.SVAbstractMenuItem

List of all members.

Public Member Functions

void performAction (SVWindow window, SVEventType eventType)

Package Functions

 SVEmptyMenuItem (int id, String name)

Detailed Description

Constructs a new menulistitem which just has an ID and a name attached to it. In this case, we will have to ask for the value of the item and its description if it gets called.

Definition at line 33 of file SVEmptyMenuItem.java.


Constructor & Destructor Documentation

com.google.scrollview.ui.SVEmptyMenuItem.SVEmptyMenuItem ( int  id,
String  name 
) [inline, package]

Definition at line 34 of file SVEmptyMenuItem.java.

                                       {
    super(id, name, new JMenuItem(name));
  }

Member Function Documentation

void com.google.scrollview.ui.SVEmptyMenuItem.performAction ( SVWindow  window,
SVEventType  eventType 
) [inline]

What to do when user clicks on this item.

Reimplemented from com.google.scrollview.ui.SVAbstractMenuItem.

Definition at line 39 of file SVEmptyMenuItem.java.

                                                                    {
  // Send an event indicating that someone clicked on an entry.
  // Value will be null here.
    SVEvent svme =
        new SVEvent(eventType, window, id, getValue());
    ScrollView.addMessage(svme);
  }

The documentation for this class was generated from the following file: