org.globus.cog.gridshell.gui
Class PromptFilterImpl

java.lang.Object
  extended byorg.globus.cog.gridshell.gui.PromptFilterImpl
All Implemented Interfaces:
EventListener, VetoableChangeListener

public class PromptFilterImpl
extends Object
implements VetoableChangeListener

Prevents the prompt from being tampered with


Field Summary
 String backward
           
 Action backwardAction
           
 String beginLine
           
 Action beginLineAction
           
 String previousWord
           
 Action previousWordAction
           
 String selectAll
           
 Action selectAllAction
           
 String selectionBackward
           
 Action selectionBackwardAction
           
 String selectionBeginLine
           
 Action selectionBeginLineAction
           
 String selectionPreviousWord
           
 Action selectionPreviousWordAction
           
 
Constructor Summary
PromptFilterImpl(JTextComponent tComponent)
           
 
Method Summary
 String getPrompt()
          Gets the prompt value
 void setPrompt(String nPrompt)
          Sets the prompt value to prevent from editing
 void vetoableChange(PropertyChangeEvent pEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PromptFilterImpl

public PromptFilterImpl(JTextComponent tComponent)
Method Detail

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