|
||||||||||
| 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 Image[] |
folder1
Closed folder. |
static Image[] |
folder2
Opened folder. |
| Method Summary | |
|---|---|
static String |
desc(byte[] name,
boolean dir)
Returns the description for the specified file. |
static Image |
images(byte[] name,
boolean big)
Returns the suffix image for the specified file. |
static 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 short |
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 Image[] folder1
public static Image[] folder2
| Method Detail |
|---|
public static short type(byte[] name)
name - file name
public static Image images(byte[] name,
int n)
name - file namen - image offset (0/1)
public static Image images(byte[] name,
boolean big)
name - file namebig - small/big image
public static GUIFS.Type mime(byte[] name)
name - file name
public static 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 | |||||||||