1 19 24 package org.openide.explorer.propertysheet; 25 26 import java.awt.event.ActionListener ; 27 28 import javax.swing.event.ChangeListener ; 29 30 31 33 interface PropertyDisplayer_Editable extends PropertyDisplayer { 34 40 public void setEnabled(boolean enabled); 41 42 44 public void reset(); 45 46 47 public boolean isValueModified(); 48 49 52 public String isModifiedValueLegal(); 53 54 58 public boolean commit() throws IllegalArgumentException ; 59 60 65 public Object getEnteredValue(); 66 67 68 public void setEnteredValue(Object o); 69 70 71 public int getUpdatePolicy(); 72 73 78 public void setUpdatePolicy(int i); 79 80 81 public void setActionCommand(String val); 82 83 84 public String getActionCommand(); 85 86 90 public void addActionListener(ActionListener al); 91 92 93 public void removeActionListener(ActionListener al); 94 95 98 public void addChangeListener(ChangeListener cl); 99 100 101 public void removeChangeListener(ChangeListener cl); 102 103 public PropertyEnv getPropertyEnv(); 107 } 108 | Popular Tags |