2.7.3 - Dialogue Icons - JdlDialogIcons

John W. Campbell

2.7.3.1 Introduction

This class provides a series of methods to return some icons for use with message dialogues in JdlView.

Class, fields and methods:

Class Details
Accessible Fields
Icons

2.7.3.2 Class Details

Package:
Jdl.JdlLib;
Class name:
JdlDialogIcons
Class definition:
public class JdlDialogIcons
Extends:
Object
Implements:
none
Actions:
none

2.7.3.3 Accessible Fields

No fields with public, package or protected access defined.

2.7.3.4 Icons

2.7.3.4.1 Introduction

This section contains methods for returning some dialogue icon images.

Methods:

Error icon - createErrorIcon
Warning icon - createWarningIcon
Query icon - createQueryIcon
Information icon - createInformationIcon

2.7.3.4.2 Error icon - createErrorIcon

This method returns a 32x32 icon image for an error message dialogue.

Method Definition:
public static Image createErrorIcon(Component c)
Parameters List:
c
A Component object on which to base the image.
Method Return:
The 'Error' icon image.

2.7.3.4.3 Warning icon - createWarningIcon

This method returns a 32x32 icon image for an warning message dialogue.

Method Definition:
public static Image createWarningIcon(Component c)
Parameters List:
c
A Component object on which to base the image.
Method Return:
The 'Warning' icon image.

2.7.3.4.4 Query icon - createQueryIcon

This method returns a 32x32 icon image for an query message dialogue.

Method Definition:
public static Image createQueryIcon(Component c)
Parameters List:
c
A Component object on which to base the image.
Method Return:
The 'Query' icon image.

2.7.3.4.5 Information icon - createInformationIcon

This method returns a 32x32 icon image for an information message dialogue.

Method Definition:
public static Image createInformationIcon(Component c)
Parameters List:
c
A Component object on which to base the image.
Method Return:
The 'Information' icon image.

⇑ Up 2   ⇑ Up 1   ⇑ Top of this