1 19 24 package org.openide.explorer.propertysheet; 25 26 import java.awt.Component ; 27 import java.awt.event.*; 28 29 import java.beans.PropertyEditor ; 30 31 import javax.swing.JComponent ; 32 import javax.swing.KeyStroke ; 33 34 35 102 public interface InplaceEditor { 103 106 public static final String COMMAND_SUCCESS = "success"; 108 111 public static final String COMMAND_FAILURE = "failure"; 113 126 public void connect(PropertyEditor pe, PropertyEnv env); 127 128 138 public JComponent getComponent(); 139 140 145 public void clear(); 146 147 160 public Object getValue(); 161 162 180 public void setValue(Object o); 181 182 192 public boolean supportsTextEntry(); 193 194 199 public void reset(); 200 201 211 public void addActionListener(ActionListener al); 212 213 215 public void removeActionListener(ActionListener al); 216 217 230 public KeyStroke [] getKeyStrokes(); 231 232 242 public PropertyEditor getPropertyEditor(); 243 244 254 public PropertyModel getPropertyModel(); 255 256 259 public void setPropertyModel(PropertyModel pm); 260 261 274 public boolean isKnownComponent(Component c); 275 276 291 public interface Factory { 292 304 public InplaceEditor getInplaceEditor(); 305 } 306 } 307 | Popular Tags |