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

Quick Search    Search Deep

org.gjt.sp.jedit.help
Class HelpSearchPanel.ResultIcon  view HelpSearchPanel.ResultIcon download HelpSearchPanel.ResultIcon.java

java.lang.Object
  extended byorg.gjt.sp.jedit.help.HelpSearchPanel.ResultIcon
All Implemented Interfaces:
javax.swing.Icon
Enclosing class:
HelpSearchPanel

static class HelpSearchPanel.ResultIcon
extends java.lang.Object
implements javax.swing.Icon


Field Summary
private  int rank
           
private static java.awt.RenderingHints renderingHints
           
 
Constructor Summary
(package private) HelpSearchPanel.ResultIcon(int rank)
           
 
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

renderingHints

private static java.awt.RenderingHints renderingHints

rank

private int rank
Constructor Detail

HelpSearchPanel.ResultIcon

HelpSearchPanel.ResultIcon(int rank)
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