|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.gui.GUIFS
public final class GUIFS
This class organizes icons and data types for common file types.
Nested Class Summary | |
---|---|
static class |
GUIFS.Type
File Types. |
Field Summary | |
---|---|
static java.awt.Image[] |
folder1
Closed folder. |
static java.awt.Image[] |
folder2
Opened folder. |
Method Summary | |
---|---|
static java.lang.String |
desc(byte[] name,
boolean dir)
Returns the description for the specified file. |
static java.awt.Image |
images(byte[] name,
boolean big)
Returns the suffix image for the specified file. |
static java.awt.Image |
images(byte[] name,
int n)
Returns the suffix image for the specified file. |
static GUIFS.Type |
mime(byte[] name)
Returns the suffix image for the specified file. |
static int |
type(byte[] name)
Returns the file type for the specified filename. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.awt.Image[] folder1
public static java.awt.Image[] folder2
Method Detail |
---|
public static int type(byte[] name)
name
- file name
public static java.awt.Image images(byte[] name, int n)
name
- file namen
- image offset (0/1)
public static java.awt.Image images(byte[] name, boolean big)
name
- file namebig
- small/big image
public static GUIFS.Type mime(byte[] name)
name
- file name
public static java.lang.String desc(byte[] name, boolean dir)
name
- file namedir
- directory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |