public class StudentIconGenerator
extends java.lang.Object
Constructor and Description |
---|
StudentIconGenerator() |
Modifier and Type | Method and Description |
---|---|
static IItem |
generateIcon(IStage stage,
int width,
int height,
int borderWidth,
boolean movable,
java.lang.String studentID)
Generate icon.
|
static java.lang.String |
getExtension(java.io.File f)
Gets the extension.
|
public static IItem generateIcon(IStage stage, int width, int height, int borderWidth, boolean movable, java.lang.String studentID)
stage
- the stagewidth
- the widthheight
- the heightborderWidth
- the border widthmovable
- the movablestudentID
- the student idpublic static java.lang.String getExtension(java.io.File f)
f
- the f