edu.columbia.cs.cgui.rjfc.swing.text
Interface RJTextComponent

All Superinterfaces:
RComponent, RContainer, Remote, RJComponent
All Known Subinterfaces:
RJEditorPane, RJPasswordField, RJTextArea, RJTextField, RJTextPane
All Known Implementing Classes:
RJTextComponentImpl

public interface RJTextComponent
extends RJComponent


Field Summary
static String DEFAULT_KEYMAP
           
static String FOCUS_ACCELERATOR_KEY
           
 
Fields inherited from interface edu.columbia.cs.cgui.rjfc.swing.RJComponent
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from interface edu.columbia.cs.cgui.rjfc.awt.RComponent
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Method Summary
 void addCaretListener(RCaretListener listenervar0)
           
 void addInputMethodListener(RInputMethodListener lvar0)
           
 Keymap addKeymap(String nmvar0, Keymap parentvar1)
           
 void copy()
           
 void cut()
           
 AccessibleContext getAccessibleContext()
           
 Action[] getActions()
           
 Caret getCaret()
           
 Color getCaretColor()
           
 int getCaretPosition()
           
 Color getDisabledTextColor()
           
 Document getDocument()
           
 char getFocusAccelerator()
           
 Highlighter getHighlighter()
           
 InputMethodRequests getInputMethodRequests()
           
 Keymap getKeymap()
           
 Keymap getKeymap(String nmvar0)
           
 Insets getMargin()
           
 Dimension getPreferredScrollableViewportSize()
           
 int getScrollableBlockIncrement(Rectangle visibleRectvar0, int orientationvar1, int directionvar2)
           
 boolean getScrollableTracksViewportHeight()
           
 boolean getScrollableTracksViewportWidth()
           
 int getScrollableUnitIncrement(Rectangle visibleRectvar0, int orientationvar1, int directionvar2)
           
 String getSelectedText()
           
 Color getSelectedTextColor()
           
 Color getSelectionColor()
           
 int getSelectionEnd()
           
 int getSelectionStart()
           
 String getText()
           
 String getText(int offsvar0, int lenvar1)
           
 RTextUI getUI()
           
 boolean isEditable()
           
 boolean isFocusTraversable()
           
 void loadKeymap(Keymap mapvar0, JTextComponent.KeyBinding[] bindingsvar1, Action[] actionsvar2)
           
 Rectangle modelToView(int posvar0)
           
 void moveCaretPosition(int posvar0)
           
 void paste()
           
 void read(Reader invar0, Object descvar1)
           
 void removeCaretListener(RCaretListener listenervar0)
           
 Keymap removeKeymap(String nmvar0)
           
 void removeNotify()
           
 void replaceSelection(String contentvar0)
           
 void select(int selectionStartvar0, int selectionEndvar1)
           
 void selectAll()
           
 void setCaret(Caret cvar0)
           
 void setCaretColor(Color cvar0)
           
 void setCaretPosition(int positionvar0)
           
 void setDisabledTextColor(Color cvar0)
           
 void setDocument(Document docvar0)
           
 void setEditable(boolean bvar0)
           
 void setFocusAccelerator(char aKeyvar0)
           
 void setHighlighter(Highlighter hvar0)
           
 void setKeymap(Keymap mapvar0)
           
 void setMargin(Insets mvar0)
           
 void setSelectedTextColor(Color cvar0)
           
 void setSelectionColor(Color cvar0)
           
 void setSelectionEnd(int selectionEndvar0)
           
 void setSelectionStart(int selectionStartvar0)
           
 void setText(String tvar0)
           
 void setUI(RTextUI uivar0)
           
 void updateUI()
           
 int viewToModel(Point ptvar0)
           
 void write(Writer outvar0)
           
 
Methods inherited from interface edu.columbia.cs.cgui.rjfc.swing.RJComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from interface edu.columbia.cs.cgui.rjfc.awt.RContainer
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate
 
Methods inherited from interface edu.columbia.cs.cgui.rjfc.awt.RComponent
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, contains, createImage, createImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getRJFCWrappedData, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setData, setDropTarget, setHash, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus
 

Field Detail

FOCUS_ACCELERATOR_KEY

public static final String FOCUS_ACCELERATOR_KEY

DEFAULT_KEYMAP

public static final String DEFAULT_KEYMAP
Method Detail

getUI

public RTextUI getUI()
              throws RemoteException

setUI

public void setUI(RTextUI uivar0)
           throws RemoteException

updateUI

public void updateUI()
              throws RemoteException
Specified by:
updateUI in interface RJComponent

addCaretListener

public void addCaretListener(RCaretListener listenervar0)
                      throws RemoteException

removeCaretListener

public void removeCaretListener(RCaretListener listenervar0)
                         throws RemoteException

setDocument

public void setDocument(Document docvar0)
                 throws RemoteException

getDocument

public Document getDocument()
                     throws RemoteException

getActions

public Action[] getActions()
                    throws RemoteException

setMargin

public void setMargin(Insets mvar0)
               throws RemoteException

getMargin

public Insets getMargin()
                 throws RemoteException

getCaret

public Caret getCaret()
               throws RemoteException

setCaret

public void setCaret(Caret cvar0)
              throws RemoteException

getHighlighter

public Highlighter getHighlighter()
                           throws RemoteException

setHighlighter

public void setHighlighter(Highlighter hvar0)
                    throws RemoteException

setKeymap

public void setKeymap(Keymap mapvar0)
               throws RemoteException

getKeymap

public Keymap getKeymap()
                 throws RemoteException

addKeymap

public Keymap addKeymap(String nmvar0,
                        Keymap parentvar1)
                 throws RemoteException

removeKeymap

public Keymap removeKeymap(String nmvar0)
                    throws RemoteException

getKeymap

public Keymap getKeymap(String nmvar0)
                 throws RemoteException

loadKeymap

public void loadKeymap(Keymap mapvar0,
                       JTextComponent.KeyBinding[] bindingsvar1,
                       Action[] actionsvar2)
                throws RemoteException

getCaretColor

public Color getCaretColor()
                    throws RemoteException

setCaretColor

public void setCaretColor(Color cvar0)
                   throws RemoteException

getSelectionColor

public Color getSelectionColor()
                        throws RemoteException

setSelectionColor

public void setSelectionColor(Color cvar0)
                       throws RemoteException

getSelectedTextColor

public Color getSelectedTextColor()
                           throws RemoteException

setSelectedTextColor

public void setSelectedTextColor(Color cvar0)
                          throws RemoteException

getDisabledTextColor

public Color getDisabledTextColor()
                           throws RemoteException

setDisabledTextColor

public void setDisabledTextColor(Color cvar0)
                          throws RemoteException

replaceSelection

public void replaceSelection(String contentvar0)
                      throws RemoteException

getText

public String getText(int offsvar0,
                      int lenvar1)
               throws RemoteException,
                      BadLocationException

modelToView

public Rectangle modelToView(int posvar0)
                      throws RemoteException,
                             BadLocationException

viewToModel

public int viewToModel(Point ptvar0)
                throws RemoteException

cut

public void cut()
         throws RemoteException

copy

public void copy()
          throws RemoteException

paste

public void paste()
           throws RemoteException

moveCaretPosition

public void moveCaretPosition(int posvar0)
                       throws RemoteException

setFocusAccelerator

public void setFocusAccelerator(char aKeyvar0)
                         throws RemoteException

getFocusAccelerator

public char getFocusAccelerator()
                         throws RemoteException

read

public void read(Reader invar0,
                 Object descvar1)
          throws RemoteException,
                 IOException

write

public void write(Writer outvar0)
           throws RemoteException,
                  IOException

removeNotify

public void removeNotify()
                  throws RemoteException
Specified by:
removeNotify in interface RJComponent

isFocusTraversable

public boolean isFocusTraversable()
                           throws RemoteException
Specified by:
isFocusTraversable in interface RJComponent

setCaretPosition

public void setCaretPosition(int positionvar0)
                      throws RemoteException

getCaretPosition

public int getCaretPosition()
                     throws RemoteException

setText

public void setText(String tvar0)
             throws RemoteException

getText

public String getText()
               throws RemoteException

getSelectedText

public String getSelectedText()
                       throws RemoteException

isEditable

public boolean isEditable()
                   throws RemoteException

setEditable

public void setEditable(boolean bvar0)
                 throws RemoteException

getSelectionStart

public int getSelectionStart()
                      throws RemoteException

setSelectionStart

public void setSelectionStart(int selectionStartvar0)
                       throws RemoteException

getSelectionEnd

public int getSelectionEnd()
                    throws RemoteException

setSelectionEnd

public void setSelectionEnd(int selectionEndvar0)
                     throws RemoteException

select

public void select(int selectionStartvar0,
                   int selectionEndvar1)
            throws RemoteException

selectAll

public void selectAll()
               throws RemoteException

getPreferredScrollableViewportSize

public Dimension getPreferredScrollableViewportSize()
                                             throws RemoteException

getScrollableUnitIncrement

public int getScrollableUnitIncrement(Rectangle visibleRectvar0,
                                      int orientationvar1,
                                      int directionvar2)
                               throws RemoteException

getScrollableBlockIncrement

public int getScrollableBlockIncrement(Rectangle visibleRectvar0,
                                       int orientationvar1,
                                       int directionvar2)
                                throws RemoteException

getScrollableTracksViewportWidth

public boolean getScrollableTracksViewportWidth()
                                         throws RemoteException

getScrollableTracksViewportHeight

public boolean getScrollableTracksViewportHeight()
                                          throws RemoteException

getAccessibleContext

public AccessibleContext getAccessibleContext()
                                       throws RemoteException
Specified by:
getAccessibleContext in interface RJComponent

getInputMethodRequests

public InputMethodRequests getInputMethodRequests()
                                           throws RemoteException
Specified by:
getInputMethodRequests in interface RComponent

addInputMethodListener

public void addInputMethodListener(RInputMethodListener lvar0)
                            throws RemoteException
Specified by:
addInputMethodListener in interface RComponent