Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
abstract class: PlainViewI18N.BidiTextView [javadoc | source]
java.lang.Object
   javax.swing.text.View
      javax.swing.text.PlainViewI18N$BidiTextView

All Implemented Interfaces:
    SwingConstants

Direct Known Subclasses:
    RTLTextView, LTRTextView

Base class for directional run of text.
Field Summary
protected  Position start     
protected  Position end     
protected  Element bidiElement     
protected  int cachedWidth     
Fields inherited from javax.swing.text.View:
BadBreakWeight,  GoodBreakWeight,  ExcellentBreakWeight,  ForcedBreakWeight,  X_AXIS,  Y_AXIS,  sharedBiasReturn
Constructor:
 public BidiTextView(Element element,
    int start,
    int end) 
Method from javax.swing.text.PlainViewI18N$BidiTextView Summary:
drawSelectedText,   drawUnselectedText,   getAlignment,   getEndOffset,   getPreferredSpan,   getStartOffset,   getText,   insertUpdate,   paint,   preferenceChanged,   removeUpdate
Methods from javax.swing.text.View:
append,   breakView,   changedUpdate,   createFragment,   forwardUpdate,   forwardUpdateToView,   getAlignment,   getAttributes,   getBreakWeight,   getChildAllocation,   getContainer,   getDocument,   getElement,   getEndOffset,   getGraphics,   getMaximumSpan,   getMinimumSpan,   getNextVisualPositionFrom,   getParent,   getPreferredSpan,   getResizeWeight,   getStartOffset,   getToolTipText,   getView,   getViewCount,   getViewFactory,   getViewIndex,   getViewIndex,   insert,   insertUpdate,   isVisible,   modelToView,   modelToView,   modelToView,   paint,   preferenceChanged,   remove,   removeAll,   removeUpdate,   replace,   setParent,   setSize,   updateChildren,   updateLayout,   viewToModel,   viewToModel
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.PlainViewI18N$BidiTextView Detail:
 protected int drawSelectedText(Graphics g,
    int x,
    int y,
    int start,
    int end) throws BadLocationException 
 protected int drawUnselectedText(Graphics g,
    int x,
    int y,
    int start,
    int end) throws BadLocationException 
 public float getAlignment(int axis) 
 public int getEndOffset() 
 public float getPreferredSpan(int axis) 
 public int getStartOffset() 
 protected Segment getText() 
 public  void insertUpdate(DocumentEvent event,
    Shape shape,
    ViewFactory factory) 
 public  void paint(Graphics g,
    Shape shape) 
 public  void preferenceChanged(View child,
    boolean width,
    boolean height) 
 public  void removeUpdate(DocumentEvent event,
    Shape shape,
    ViewFactory factory)