org.globus.cog.gridshell.gui
Class PromptFilterImpl
java.lang.Object
org.globus.cog.gridshell.gui.PromptFilterImpl
- All Implemented Interfaces:
- EventListener, VetoableChangeListener
- public class PromptFilterImpl
- extends Object
- implements VetoableChangeListener
Prevents the prompt from being tampered with
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beginLineAction
public Action beginLineAction
selectionBeginLineAction
public Action selectionBeginLineAction
backwardAction
public Action backwardAction
selectionBackwardAction
public Action selectionBackwardAction
selectAllAction
public Action selectAllAction
previousWordAction
public Action previousWordAction
selectionPreviousWordAction
public Action selectionPreviousWordAction
beginLine
public String beginLine
selectionBeginLine
public String selectionBeginLine
backward
public String backward
selectionBackward
public String selectionBackward
selectAll
public String selectAll
previousWord
public String previousWord
selectionPreviousWord
public String selectionPreviousWord
PromptFilterImpl
public PromptFilterImpl(JTextComponent tComponent)
setPrompt
public void setPrompt(String nPrompt)
- Sets the prompt value to prevent from editing
- Parameters:
nPrompt - -
the new prompt value
getPrompt
public String getPrompt()
- Gets the prompt value
- Returns:
vetoableChange
public void vetoableChange(PropertyChangeEvent pEvent)
throws PropertyVetoException
- Specified by:
vetoableChange in interface VetoableChangeListener
- Throws:
PropertyVetoException