Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.trapezium.chisel.gui
Class ChiselAWTAction  view ChiselAWTAction download ChiselAWTAction.java

java.lang.Object
  extended bycom.trapezium.chisel.gui.ChiselAWTAction
All Implemented Interfaces:
ActionImpl, java.awt.event.ActionListener, java.util.EventListener

class ChiselAWTAction
extends java.lang.Object
implements ActionImpl

class ChiselJAction extends DefaultAction implements ActionImpl { ActionListener owner; public ChiselJAction(ActionListener owner, String name) { super(name); this.owner = owner; } public void actionPerformed(ActionEvent e) { owner.actionPerformed(e); } public String getName() { return getText(NAME); } public void setName(String name) { setText(NAME, name); } }


Field Summary
(package private)  java.lang.String name
           
(package private)  java.awt.event.ActionListener owner
           
 
Constructor Summary
ChiselAWTAction(java.awt.event.ActionListener owner, java.lang.String name)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method is invoked when an action occurs.
 java.lang.String getName()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

owner

java.awt.event.ActionListener owner

name

java.lang.String name
Constructor Detail

ChiselAWTAction

public ChiselAWTAction(java.awt.event.ActionListener owner,
                       java.lang.String name)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

getName

public java.lang.String getName()
Specified by:
getName in interface ActionImpl

setName

public void setName(java.lang.String name)
Specified by:
setName in interface ActionImpl