UNPKG

ts-jsdk

Version:

TypeScript implementation of the Java platform

16 lines (15 loc) 515 B
import { Action } from "./Action"; import { ActionEvent } from "../awt/event/ActionEvent"; import { AbstractButton } from "./AbstractButton"; export declare class DefaultAction implements Action { protected text: string; private enabled; constructor(text: string); actionPerformed(_event: ActionEvent): void; setEnabled(enabled: boolean): void; isEnabled(): boolean; } export declare class JMenuItem extends AbstractButton { private action?; constructor(action?: string | Action); }