|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.tools.icon.OMIconFactory
public class OMIconFactory
The OMIconFactory is a factory to build ImageIcons, with content described by IconParts for a certain size.
Constructor Summary | |
---|---|
OMIconFactory()
|
Method Summary | |
---|---|
static javax.swing.ImageIcon |
createImageIcon(int width,
int height)
Create an ImageIcon that is a certain pixel height and width. |
static javax.swing.ImageIcon |
createImageIcon(int width,
int height,
int imageType)
Create an ImageIcon that is a certain pixel height and width, with a specified image type (ARGB, RGB, etc). |
static javax.swing.ImageIcon |
getIcon(int width,
int height,
IconPart geometry)
Create an ImageIcon that is a certain pixel height and width created with a certain IconPart geometry. |
static javax.swing.ImageIcon |
getIcon(int width,
int height,
IconPart geometry,
DrawingAttributes appDA)
Create an ImageIcon that is a certain pixel height and width created with a certain IconPart geometry. |
static javax.swing.ImageIcon |
getIcon(int width,
int height,
IconPart geometry,
DrawingAttributes appDA,
java.awt.geom.AffineTransform af)
Create an ImageIcon that is a certain pixel height and width created with a certain IconPart geometry. |
static javax.swing.ImageIcon |
getIcon(int width,
int height,
IconPart geometry,
DrawingAttributes appDA,
double rot)
Create an ImageIcon that is a certain pixel height and width created with a certain IconPart geometry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OMIconFactory()
Method Detail |
---|
public static javax.swing.ImageIcon createImageIcon(int width, int height)
public static javax.swing.ImageIcon createImageIcon(int width, int height, int imageType)
public static javax.swing.ImageIcon getIcon(int width, int height, IconPart geometry)
public static javax.swing.ImageIcon getIcon(int width, int height, IconPart geometry, DrawingAttributes appDA)
public static javax.swing.ImageIcon getIcon(int width, int height, IconPart geometry, DrawingAttributes appDA, java.awt.geom.AffineTransform af)
public static javax.swing.ImageIcon getIcon(int width, int height, IconPart geometry, DrawingAttributes appDA, double rot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |