Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gjt.sp.jedit.gui
Class PanelWindowContainer.RotatedTextIcon  view PanelWindowContainer.RotatedTextIcon download PanelWindowContainer.RotatedTextIcon.java

java.lang.Object
  extended byorg.gjt.sp.jedit.gui.PanelWindowContainer.RotatedTextIcon
All Implemented Interfaces:
javax.swing.Icon
Enclosing class:
PanelWindowContainer

public static class PanelWindowContainer.RotatedTextIcon
extends java.lang.Object
implements javax.swing.Icon


Field Summary
private  float ascent
           
static int CCW
           
static int CW
           
private  java.awt.Font font
           
private  java.awt.font.GlyphVector glyphs
           
private  float height
           
static int NONE
           
private  java.awt.RenderingHints renderHints
           
private  int rotate
           
private  java.lang.String text
           
private  float width
           
 
Constructor Summary
PanelWindowContainer.RotatedTextIcon(int rotate, java.awt.Font font, java.lang.String text)
           
 
Method Summary
 int getIconHeight()
          Returns the height of the icon.
 int getIconWidth()
          Returns the width of the icon.
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
          Draws the icon at the location (x, y) on the specified graphics device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

CW

public static final int CW
See Also:
Constant Field Values

CCW

public static final int CCW
See Also:
Constant Field Values

rotate

private int rotate

font

private java.awt.Font font

text

private java.lang.String text

glyphs

private java.awt.font.GlyphVector glyphs

width

private float width

height

private float height

ascent

private float ascent

renderHints

private java.awt.RenderingHints renderHints
Constructor Detail

PanelWindowContainer.RotatedTextIcon

public PanelWindowContainer.RotatedTextIcon(int rotate,
                                            java.awt.Font font,
                                            java.lang.String text)
Method Detail

getIconWidth

public int getIconWidth()
Description copied from interface: javax.swing.Icon
Returns the width of the icon.

Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Description copied from interface: javax.swing.Icon
Returns the height of the icon.

Specified by:
getIconHeight in interface javax.swing.Icon

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Description copied from interface: javax.swing.Icon
Draws the icon at the location (x, y) on the specified graphics device.

Specified by:
paintIcon in interface javax.swing.Icon