Package org.basex.gui.layout
Class BaseXImages
java.lang.Object
org.basex.gui.layout.BaseXImages
Organizes icons used all over the GUI.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Method Summary
Modifier and TypeMethodDescriptionstatic Icondir(boolean expanded) Returns a directory icon.static IconReturns an icon for the specified file.static ImageReturns the specified image.static ImageReturns the specified image.static ImageIconReturns the specified image as icon.static Icontext(boolean raw) Returns an icon for the specified text.
-
Method Details
-
get
Returns the specified image.- Parameters:
name- name of image- Returns:
- image
-
get
Returns the specified image.- Parameters:
url- image url- Returns:
- image
-
icon
Returns the specified image as icon.- Parameters:
name- name of icon- Returns:
- icon
-
dir
Returns a directory icon.- Parameters:
expanded- expanded state (open/closed)- Returns:
- icon
-
text
Returns an icon for the specified text.- Parameters:
raw- raw/xml text- Returns:
- icon
-
file
Returns an icon for the specified file.- Parameters:
file- file reference- Returns:
- icon
-