kei.component
Class KDateSelector.ActionEventListener

java.lang.Object
  |
  +--kei.component.KDateSelector.ActionEventListener
All Implemented Interfaces:
ActionListener, EventListener
Enclosing class:
KDateSelector

class KDateSelector.ActionEventListener
extends Object
implements ActionListener

KDateSelector ‚ɑ΂·‚é•Ï?X‚Ì ActionEvent ‚ð”­?¶‚·‚邽‚߂̃Nƒ‰ƒX‚Å‚·?B KDateSelector ‚Ì ActionEvent ‚ÍŽŸ‚̂Ƃ«‚É”­?¶‚µ‚Ü‚·?B 1.ComboBox ‚ɑ΂·‚é‘€?ì‚ð?s‚Á‚½‚Æ‚«?B‚Ü‚½‚Í?Aset(int field) ‚â clear(int field) ƒ?ƒ\ƒbƒh‚ðŽÀ?s‚µ‚½‚Æ‚«?BActionEvent.getCommand() ‚Í field –¼‚ð•¶Žš—ñ‚ŕԂµ‚Ü‚·?B YEAR,MONTH,DATE ‚Ì•Ï?X‚É‚æ‚è?AJULIAN ‚ª•Ï?X‚³‚ꂽ‚è?A‚»‚Ì‹t‚Ì?ê?‡‚Í?A ‚·‚ׂĂ̕Ï?X‚ÌŒ´ˆö‚݂̂ª ActionEvent.getActionCommand() ‚ŕԂ³‚ê‚Ü‚·?B 2.set(Calendar cal), clearAll() ƒ?ƒ\ƒbƒh‚ðŽÀ?s‚µ‚½‚Æ‚«?B ActionEvent.getActionCommand() ‚Í "set" ‚Ü‚½‚Í "clear" ‚ð•Ô‚µ‚Ü‚·?B


Field Summary
(package private)  String command
           
(package private)  boolean enabled
           
 
Constructor Summary
KDateSelector.ActionEventListener(String command)
           
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
 boolean isEnabled()
           
 void setEnabled(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

command

String command

enabled

boolean enabled
Constructor Detail

KDateSelector.ActionEventListener

public KDateSelector.ActionEventListener(String command)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent evt)
Specified by:
actionPerformed in interface ActionListener

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean b)