net.sourceforge.jdatepicker.graphics
Class JPreviousIcon

java.lang.Object
  extended by net.sourceforge.jdatepicker.graphics.JPreviousIcon
All Implemented Interfaces:
javax.swing.Icon

public class JPreviousIcon
extends java.lang.Object
implements javax.swing.Icon

Created on 26 Mar 2004

Author:
Juan Heyns

Field Summary
protected  int height
           
protected  int width
           
protected  int[] xPoints
           
protected  int[] yPoints
           
 
Constructor Summary
JPreviousIcon(int width, int height)
           
JPreviousIcon(int width, int height, boolean doubleArrow)
           
 
Method Summary
 boolean getDoubleArrow()
           
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
 void setDimension(int width, int height)
           
 void setDoubleArrow(boolean doubleArrow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

protected int width

height

protected int height

xPoints

protected int[] xPoints

yPoints

protected int[] yPoints
Constructor Detail

JPreviousIcon

public JPreviousIcon(int width,
                     int height)

JPreviousIcon

public JPreviousIcon(int width,
                     int height,
                     boolean doubleArrow)
Method Detail

getDoubleArrow

public boolean getDoubleArrow()

setDoubleArrow

public void setDoubleArrow(boolean doubleArrow)

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon

setDimension

public void setDimension(int width,
                         int height)

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon


Copyright © 2010. All Rights Reserved.