tesseract
3.03
|
00001 // Copyright 2007 Google Inc. All Rights Reserved. 00002 // 00003 // Licensed under the Apache License, Version 2.0 (the "License"); You may not 00004 // use this file except in compliance with the License. You may obtain a copy of 00005 // the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by 00006 // applicable law or agreed to in writing, software distributed under the 00007 // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 00008 // OF ANY KIND, either express or implied. See the License for the specific 00009 // language governing permissions and limitations under the License. 00010 00011 package com.google.scrollview.ui; 00012 00022 import com.google.scrollview.events.SVEventType; 00023 00024 import javax.swing.JMenu; 00025 import javax.swing.JMenuItem; 00026 00027 abstract class SVAbstractMenuItem { 00028 JMenuItem mi; 00029 public String name; 00030 public int id; 00031 00035 SVAbstractMenuItem(int id, String name, JMenuItem jmi) { 00036 this.mi = jmi; 00037 this.name = name; 00038 this.id = id; 00039 } 00040 00042 public String getValue() { return null; } 00043 00045 public void add(SVAbstractMenuItem mli) { } 00046 00048 public void add(JMenu jli) { } 00049 00056 public void performAction(SVWindow window, SVEventType eventType) {} 00057 } 00058