BrightSide Workbench Full Report + Source Code
org.turro.zkoss.dialog.DialogButton Enum Reference

Public Member Functions

String getImage ()
 
String getLabel ()
 
Button getButton ()
 

Static Public Member Functions

static Set< DialogButtongetOkCancelButtons ()
 
static Set< DialogButtongetCloseButtons ()
 

Public Attributes

 BUTTON_OK =("/_zul/images/ok.png", "Ok")
 
 BUTTON_CANCEL =("/_zul/images/cancel.png", "Cancel")
 
 BUTTON_CLOSE =("/_zul/images/close.png", "Close")
 
String label
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 29 of file DialogButton.java.

Member Function Documentation

◆ getButton()

Button org.turro.zkoss.dialog.DialogButton.getButton ( )

Definition at line 50 of file DialogButton.java.

50  {
51  Button button = new Button(I_.get(label));
52  if(image != null) {
53  button.setImage(image);
54  }
55  return button;
56  }
Here is the call graph for this function:

◆ getCloseButtons()

static Set<DialogButton> org.turro.zkoss.dialog.DialogButton.getCloseButtons ( )
static

Definition at line 62 of file DialogButton.java.

62  {
63  return EnumSet.of(BUTTON_CLOSE);
64  }
Here is the caller graph for this function:

◆ getImage()

String org.turro.zkoss.dialog.DialogButton.getImage ( )

Definition at line 42 of file DialogButton.java.

42  {
43  return image;
44  }

◆ getLabel()

String org.turro.zkoss.dialog.DialogButton.getLabel ( )

Definition at line 46 of file DialogButton.java.

46  {
47  return label;
48  }

◆ getOkCancelButtons()

static Set<DialogButton> org.turro.zkoss.dialog.DialogButton.getOkCancelButtons ( )
static

Definition at line 58 of file DialogButton.java.

Here is the caller graph for this function:

Member Data Documentation

◆ BUTTON_CANCEL

org.turro.zkoss.dialog.DialogButton.BUTTON_CANCEL =("/_zul/images/cancel.png", "Cancel")

Definition at line 32 of file DialogButton.java.

◆ BUTTON_CLOSE

org.turro.zkoss.dialog.DialogButton.BUTTON_CLOSE =("/_zul/images/close.png", "Close")

Definition at line 33 of file DialogButton.java.

◆ BUTTON_OK

org.turro.zkoss.dialog.DialogButton.BUTTON_OK =("/_zul/images/ok.png", "Ok")

Definition at line 31 of file DialogButton.java.

◆ label

String org.turro.zkoss.dialog.DialogButton.label

Definition at line 35 of file DialogButton.java.


The documentation for this enum was generated from the following file: