tesseract
4.00.00dev
SVAbstractMenuItem.java
Go to the documentation of this file.
1
// Copyright 2007 Google Inc. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License"); You may not
4
// use this file except in compliance with the License. You may obtain a copy of
5
// the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
6
// applicable law or agreed to in writing, software distributed under the
7
// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8
// OF ANY KIND, either express or implied. See the License for the specific
9
// language governing permissions and limitations under the License.
10
11
package
com.google.scrollview.ui;
12
22
import
com
.
google
.
scrollview
.
events
.
SVEventType
;
23
24
import
javax.swing.JMenu;
25
import
javax.swing.JMenuItem;
26
27
abstract
class
SVAbstractMenuItem {
28
JMenuItem mi;
29
public
String name;
30
public
int
id;
31
35
SVAbstractMenuItem(
int
id
, String name, JMenuItem jmi) {
36
this.mi = jmi;
37
this.name = name;
38
this.
id
= id;
39
}
40
42
public
String getValue() {
return
null; }
43
45
public
void
add(SVAbstractMenuItem mli) { }
46
48
public
void
add(JMenu jli) { }
49
56
public
void
performAction(
SVWindow
window,
SVEventType
eventType) {}
57
}
58
com.google.scrollview.events
Definition:
SVEvent.java:11
com.google.scrollview
com.google.scrollview.events.SVEventType
Definition:
SVEventType.java:20
com.google.scrollview.ui.SVWindow
Definition:
SVWindow.java:52
com.google
com
java
com
google
scrollview
ui
SVAbstractMenuItem.java
Generated on Sat May 20 2017 21:28:59 for tesseract by
1.8.13