net.sourceforge.jdatepicker.graphics
Class JNextIcon
java.lang.Object
net.sourceforge.jdatepicker.graphics.JNextIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class JNextIcon
- extends java.lang.Object
- implements javax.swing.Icon
Created on 26 Mar 2004
- Author:
- Juan Heyns
Constructor Summary |
JNextIcon(int width,
int height)
|
JNextIcon(int width,
int height,
boolean doubleArrow)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
width
protected int width
height
protected int height
xPoints
protected int[] xPoints
yPoints
protected int[] yPoints
JNextIcon
public JNextIcon(int width,
int height)
JNextIcon
public JNextIcon(int width,
int height,
boolean doubleArrow)
setDoubleArrow
public void setDoubleArrow(boolean doubleArrow)
getDoubleArrow
public boolean getDoubleArrow()
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.