com.myjavaworld.gui
Class IndentIcon
java.lang.Object
com.myjavaworld.gui.IndentIcon
- All Implemented Interfaces:
- Icon
public class IndentIcon
- extends Object
- implements Icon
- Version:
- 1.0
- Author:
- Sai Pullabhotla, psai [at] jMethods [dot] com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndentIcon
public IndentIcon()
setIcon
public void setIcon(Icon icon)
getIcon
public Icon getIcon()
getDepth
public int getDepth()
- Returns:
- Returns the depth.
setDepth
public void setDepth(int depth)
- Parameters:
depth
- The depth to set.
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.