public class SwingUtil extends Object
Modifier and Type | Field and Description |
---|---|
static ImageIcon |
COMMAND_ICON |
static ImageIcon |
DEPENDENCY_ICON |
static ImageIcon |
FILE_ICON |
static ImageIcon |
FOLDER_ICON |
static String |
GTK_LOOK_AND_FEEL |
static ImageIcon |
LICENSE_ICON |
static String |
LOOK_AND_FEEL_ATTRIBUTE |
static ImageIcon |
PACKAGE_ICON |
static ImageIcon |
PLUGIN_ICON |
Constructor and Description |
---|
SwingUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
center(Window window) |
static void |
center(Window window,
double ratio) |
static EnhancedNode |
createArtifactNode(Artifact artifact,
Dependencies<?> dependencies,
boolean includePackageContents) |
static EnhancedNode |
createCommandNode(String command,
Plugin1 plugin,
boolean includePluginName) |
static EnhancedNode |
createDependencyNode(Module module,
Dependencies<?> dependencies,
boolean isMain,
boolean includeChildren,
boolean includeLicenses,
boolean includeArtifacts,
boolean includePackageContents) |
static EnhancedNode |
createLicenseNode(License license,
Dependencies<?> dependencies,
boolean isMain,
boolean includeDependencies,
boolean includeArtifacts,
boolean includePackageContents) |
static EnhancedNode |
createPluginNode(Plugin1 plugin,
boolean includeCommands) |
static EnhancedNode |
createProgramNode(String program) |
static EnhancedNode |
createRepositoryNode(Repository repository) |
static EnhancedNode |
createShortcutNode(String shortcut,
boolean includeType) |
static EnhancedNode |
createShortcutTypeNode(String type,
Shortcuts shortcuts) |
static EnhancedNode |
createTemplateNode(Template template) |
static void |
error(Throwable x) |
static void |
expandTree(JTree tree,
boolean expand) |
static String |
getLookAndFeel(String name) |
static void |
initLookAndFeel(String ui) |
static String |
toHtml(Module module,
boolean bold,
boolean br) |
public static final ImageIcon DEPENDENCY_ICON
public static final ImageIcon LICENSE_ICON
public static final ImageIcon FOLDER_ICON
public static final ImageIcon FILE_ICON
public static final ImageIcon PACKAGE_ICON
public static final ImageIcon PLUGIN_ICON
public static final ImageIcon COMMAND_ICON
public static final String GTK_LOOK_AND_FEEL
public static final String LOOK_AND_FEEL_ATTRIBUTE
public static void initLookAndFeel(String ui) throws SincerityException
SincerityException
public static void error(Throwable x)
public static void center(Window window, double ratio)
public static void center(Window window)
public static void expandTree(JTree tree, boolean expand)
public static EnhancedNode createDependencyNode(Module module, Dependencies<?> dependencies, boolean isMain, boolean includeChildren, boolean includeLicenses, boolean includeArtifacts, boolean includePackageContents) throws SincerityException
SincerityException
public static EnhancedNode createLicenseNode(License license, Dependencies<?> dependencies, boolean isMain, boolean includeDependencies, boolean includeArtifacts, boolean includePackageContents) throws SincerityException
SincerityException
public static EnhancedNode createArtifactNode(Artifact artifact, Dependencies<?> dependencies, boolean includePackageContents) throws SincerityException
SincerityException
public static EnhancedNode createPluginNode(Plugin1 plugin, boolean includeCommands) throws SincerityException
SincerityException
public static EnhancedNode createCommandNode(String command, Plugin1 plugin, boolean includePluginName) throws SincerityException
SincerityException
public static EnhancedNode createShortcutTypeNode(String type, Shortcuts shortcuts) throws SincerityException
SincerityException
public static EnhancedNode createShortcutNode(String shortcut, boolean includeType) throws SincerityException
SincerityException
public static EnhancedNode createTemplateNode(Template template) throws SincerityException
SincerityException
public static EnhancedNode createProgramNode(String program) throws SincerityException
SincerityException
public static EnhancedNode createRepositoryNode(Repository repository) throws SincerityException
SincerityException
Copyright © 2011-2016 Three Crickets LLC.