Uses of Record Class
ca.corbett.extras.gradient.Gradient
Packages that use Gradient
Package
Description
Contains utilities and components related to the generation of color gradient images.
Contains utilities and components related to image handling.
Contains a custom Properties implementation to augment the one provided by java.
ca.corbett.forms.fields
-
Uses of Gradient in ca.corbett.extras
Methods in ca.corbett.extras that return GradientModifier and TypeMethodDescriptionCustomizableDesktopPane.getGradientConfig()Returns the currently set gradient config for the background, or null if the background is currently set to a solid color.Methods in ca.corbett.extras with parameters of type GradientModifier and TypeMethodDescriptionvoidCustomizableDesktopPane.setGradientConfig(Gradient conf) Sets the GradientConfig to use for drawing the desktop background.Constructors in ca.corbett.extras with parameters of type GradientModifierConstructorDescriptionCustomizableDesktopPane(Gradient gradient) Creates a new CustomizableDesktopPane with the specified initial GradientConfig and no logo image.CustomizableDesktopPane(BufferedImage image, CustomizableDesktopPane.LogoPlacement placement, float alpha, Gradient gradient) Creates a new CustomizableDesktopPane with the specified logo image and placement, and the specified initial GradientConfig. -
Uses of Gradient in ca.corbett.extras.gradient
Methods in ca.corbett.extras.gradient that return GradientModifier and TypeMethodDescriptionstatic GradientGradient.createDefault()GradientColorChooser.GradientConfigPanel.getGradient()Methods in ca.corbett.extras.gradient with parameters of type GradientModifier and TypeMethodDescriptionstatic BufferedImageGradientUtil.createGradientImage(Gradient conf, int width, int height) Creates a new RGB image of the given width and height, and then fills it with the given Gradient.static voidGradientUtil.drawRect(Gradient conf, Graphics2D graphics, int x1, int y1, int width, int height) Draws an unfilled rectangle into the given Graphics2D object using the given Gradient.static voidGradientUtil.drawString(Gradient conf, Graphics2D graphics, int gradientX1, int gradientY1, int gradientX2, int gradientY2, int textX, int textY, String string) Draws the given String into the given Graphics2D object using the given Gradient.static voidGradientUtil.drawString(Gradient conf, Graphics2D graphics, int textX, int textY, String string) Draws the given String into the given Graphics2D object using the given Gradient.static voidGradientUtil.fill(Gradient conf, Graphics2D graphics, int x1, int y1, int width, int height) Renders a gradient fill into the given Graphics2D object using the given Gradient.voidGradientColorChooser.GradientConfigPanel.setGradient(Gradient gradient) voidGradientColorChooser.setGradient(Gradient gradient) intGradientColorChooser.showDialog(Component owner, String title, Gradient gradient) intGradientColorChooser.showDialog(Component owner, String title, Color color, Gradient gradient, boolean displaySolidColorInitially) intGradientColorChooser.showDialog(Window owner, String title, Gradient gradient) intGradientColorChooser.showDialog(Window owner, String title, Color color, Gradient gradient, boolean displaySolidColorInitially) Constructors in ca.corbett.extras.gradient with parameters of type Gradient -
Uses of Gradient in ca.corbett.extras.image
Methods in ca.corbett.extras.image that return GradientModifier and TypeMethodDescriptionLogoProperty.getBgGradient()Returns the GradientConfig for this logo image, if one is in use.LogoProperty.getBorderGradient()Returns the GradientConfig for the border of this logo image, if one is in use.LogoProperty.getTextGradient()Returns the GradientConfig for the text of this logo image, if one is in use.Methods in ca.corbett.extras.image with parameters of type GradientModifier and TypeMethodDescriptionvoidLogoProperty.setBgGradient(Gradient bgGradient) Sets the gradient fill type for the image background.voidLogoProperty.setBorderGradient(Gradient borderGradient) Sets the gradient fill type for the image border.voidLogoProperty.setTextGradient(Gradient textGradient) Sets the gradient type for text color of the image. -
Uses of Gradient in ca.corbett.extras.properties
Fields in ca.corbett.extras.properties declared as GradientMethods in ca.corbett.extras.properties that return GradientMethods in ca.corbett.extras.properties with parameters of type Gradient -
Uses of Gradient in ca.corbett.forms.fields
Methods in ca.corbett.forms.fields that return GradientModifier and TypeMethodDescriptionColorField.getGradient()Returns the current GradientConfig for this field.Methods in ca.corbett.forms.fields with parameters of type GradientModifier and TypeMethodDescriptionColorField.setGradient(Gradient gradient) Sets the current GradientConfig value for this field.