|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xinapse.multisliceimage.PreviewIcon
public class PreviewIcon
An Icon that is used to preview a LoadableImage (UNC, Analyze, NIFTI, DICOM).
| Constructor Summary | |
|---|---|
PreviewIcon(java.lang.String imageTypeString,
int nCols,
int nRows,
int nSlices,
int nFrames)
Create a PreviewIcon. |
|
| Method Summary | |
|---|---|
int |
getIconHeight()
Returns the icon's width. |
int |
getIconWidth()
Returns the icon's height. |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Draw the icon at the specified location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreviewIcon(java.lang.String imageTypeString,
int nCols,
int nRows,
int nSlices,
int nFrames)
imageTypeString - a String describing the image type (e.g., "UNC").nCols - the number of image columns.nRows - the number of image rows.nSlices - the number of image slice.nFrames - the number of image frames.| Method Detail |
|---|
public int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic int getIconHeight()
getIconHeight in interface javax.swing.Icon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon in interface javax.swing.Icon
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||