KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > Utilities

javax.swing.text
Class Utilities

java.lang.Object
  extended by javax.swing.text.Utilities
See Also:
Source Code

public static final int drawTabbedText(Segment s,
                                       int x,
                                       int y,
                                       Graphics g,
                                       TabExpander e,
                                       int startOffset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getBreakLocation(Segment s,
                                         FontMetrics metrics,
                                         int x0,
                                         int x,
                                         TabExpander e,
                                         int startOffset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getNextWord(JTextComponent c,
                                    int offs)
                             throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final Element getParagraphElement(JTextComponent c,
                                                int offs)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getPositionAbove(JTextComponent c,
                                         int offs,
                                         int x)
                                  throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getPositionBelow(JTextComponent c,
                                         int offs,
                                         int x)
                                  throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getPreviousWord(JTextComponent c,
                                        int offs)
                                 throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getRowEnd(JTextComponent c,
                                  int offs)
                           throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getRowStart(JTextComponent c,
                                    int offs)
                             throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getTabbedTextOffset(Segment s,
                                            FontMetrics metrics,
                                            int x0,
                                            int x,
                                            TabExpander e,
                                            int startOffset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getTabbedTextOffset(Segment s,
                                            FontMetrics metrics,
                                            int x0,
                                            int x,
                                            TabExpander e,
                                            int startOffset,
                                            boolean round)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getTabbedTextWidth(Segment s,
                                           FontMetrics metrics,
                                           int x,
                                           TabExpander e,
                                           int startOffset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getWordEnd(JTextComponent c,
                                   int offs)
                            throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int getWordStart(JTextComponent c,
                                     int offs)
                              throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Utilities()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags