public final class BaseXImages extends Object
Modifier and Type | Method and Description |
---|---|
static Icon |
dir(boolean expanded)
Returns a directory icon.
|
static Icon |
file(IOFile file)
Returns an icon for the specified file.
|
static Image |
get(String name)
Returns the specified image.
|
static Image |
get(URL url)
Returns the specified image.
|
static ImageIcon |
icon(String name)
Returns the specified image as icon.
|
static Icon |
text(boolean raw)
Returns an icon for the specified text.
|
public static Image get(String name)
name
- name of imagepublic static Image get(URL url)
url
- image urlpublic static ImageIcon icon(String name)
name
- name of iconpublic static Icon dir(boolean expanded)
expanded
- expanded state (open/closed)public static Icon text(boolean raw)
raw
- raw/xml textCopyright © 2005–2015 BaseX Team. All rights reserved.