Klasse Resources
java.lang.Object
org.deidentifier.arx.gui.resources.Resources
This class provides access to basic resources.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.eclipse.swt.widgets.DisplayReturns the display.intReturns the size of the gradient used in heatmaps.static org.eclipse.swt.graphics.Image[]getIconSet(org.eclipse.swt.widgets.Display display) Returns the logo.org.eclipse.swt.graphics.ImagegetImage(AttributeType type) Returns an image.org.eclipse.swt.graphics.ImagegetImage(AttributeType type, boolean isResponseVariable) Returns an image.static StringReads the content from the file license.txt located in the package org.deidentifier.arx.gui.resources and returns the content as string.org.apache.log4j.LoggerReturns the logger.org.eclipse.swt.graphics.ImagegetManagedImage(String name) Returns an image.static StringgetMessage(String key) Returns the associated message TODO: Make this method non-static.org.eclipse.swt.widgets.ShellgetShell()Returns the shell.static org.eclipse.swt.graphics.ImagegetSplash(org.eclipse.swt.widgets.Display display) Returns the splash image.Returns a stream.
-
Konstruktordetails
-
Resources
public Resources(org.eclipse.swt.widgets.Shell shell) Creates a new instance.- Parameter:
shell-
-
-
Methodendetails
-
getIconSet
public static org.eclipse.swt.graphics.Image[] getIconSet(org.eclipse.swt.widgets.Display display) Returns the logo.- Parameter:
display-- Gibt zurück:
-
getLicenseText
Reads the content from the file license.txt located in the package org.deidentifier.arx.gui.resources and returns the content as string.- Gibt zurück:
-
getMessage
Returns the associated message TODO: Make this method non-static.- Parameter:
key-- Gibt zurück:
-
getSplash
public static org.eclipse.swt.graphics.Image getSplash(org.eclipse.swt.widgets.Display display) Returns the splash image.- Parameter:
display-- Gibt zurück:
-
getDisplay
public org.eclipse.swt.widgets.Display getDisplay()Returns the display.- Gibt zurück:
-
getGradientLength
public int getGradientLength()Returns the size of the gradient used in heatmaps.- Gibt zurück:
-
getLogger
public org.apache.log4j.Logger getLogger()Returns the logger.- Gibt zurück:
-
getManagedImage
Returns an image. Do not dispose the image.- Parameter:
name-- Gibt zurück:
-
getShell
public org.eclipse.swt.widgets.Shell getShell()Returns the shell.- Gibt zurück:
-
getStream
Returns a stream.- Parameter:
name-- Gibt zurück:
-
getImage
Returns an image.- Parameter:
type-- Gibt zurück:
-
getImage
Returns an image.- Parameter:
type-isResponseVariable-- Gibt zurück:
-