BrightSide Workbench Full Report + Source Code
org.turro.marker.construct.Markers Class Reference

Public Member Functions

Markers cssClass (String cssClass)
 
Markers cssStyle (String cssStyle)
 
Markers start ()
 
Markers end ()
 
Markers caption (String caption)
 
Markers image (String image)
 
Markers url (String url)
 
Markers level (int level)
 
void render (IConstructor constructor)
 

Static Public Member Functions

static Markers segment ()
 
static Markers header ()
 
static Markers divider ()
 
static Markers link ()
 
static Markers card ()
 
static Markers cards ()
 

Detailed Description

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

Definition at line 28 of file Markers.java.

Member Function Documentation

◆ caption()

Markers org.turro.marker.construct.Markers.caption ( String  caption)

Definition at line 50 of file Markers.java.

50  {
51  this.caption = caption;
52  return this;
53  }

◆ card()

static Markers org.turro.marker.construct.Markers.card ( )
static

Definition at line 113 of file Markers.java.

113  {
114  return new Markers(MarkersType.CARD);
115  }

◆ cards()

static Markers org.turro.marker.construct.Markers.cards ( )
static

Definition at line 117 of file Markers.java.

117  {
118  return new Markers(MarkersType.CARDS);
119  }
Here is the caller graph for this function:

◆ cssClass()

Markers org.turro.marker.construct.Markers.cssClass ( String  cssClass)

Definition at line 30 of file Markers.java.

30  {
31  this.cssClass = cssClass;
32  return this;
33  }

◆ cssStyle()

Markers org.turro.marker.construct.Markers.cssStyle ( String  cssStyle)

Definition at line 35 of file Markers.java.

35  {
36  this.cssStyle = cssStyle;
37  return this;
38  }

◆ divider()

static Markers org.turro.marker.construct.Markers.divider ( )
static

Definition at line 105 of file Markers.java.

105  {
106  return new Markers(MarkersType.DIVIDER);
107  }

◆ end()

Markers org.turro.marker.construct.Markers.end ( )

Definition at line 45 of file Markers.java.

45  {
46  this.end = true;
47  return this;
48  }

◆ header()

static Markers org.turro.marker.construct.Markers.header ( )
static

Definition at line 101 of file Markers.java.

101  {
102  return new Markers(MarkersType.HEADER);
103  }

◆ image()

Markers org.turro.marker.construct.Markers.image ( String  image)

Definition at line 55 of file Markers.java.

55  {
56  this.image = image;
57  return this;
58  }

◆ level()

Markers org.turro.marker.construct.Markers.level ( int  level)

Definition at line 65 of file Markers.java.

65  {
66  this.level = level;
67  return this;
68  }

◆ link()

static Markers org.turro.marker.construct.Markers.link ( )
static

Definition at line 109 of file Markers.java.

109  {
110  return new Markers(MarkersType.LINK);
111  }

◆ render()

void org.turro.marker.construct.Markers.render ( IConstructor  constructor)

Definition at line 70 of file Markers.java.

70  {
71  ElephantMarker marker = new ElephantMarker(constructor);
72  marker.put("class", cssClass);
73  marker.put("style", cssStyle);
74  marker.put("start", start);
75  marker.put("end", end);
76  marker.put("caption", caption);
77  marker.put("image", image);
78  marker.put("url", url);
79  marker.put("level", level);
80  marker.process("web/utils", type.toString().toLowerCase());
81  }
Here is the call graph for this function:

◆ segment()

static Markers org.turro.marker.construct.Markers.segment ( )
static

Definition at line 97 of file Markers.java.

97  {
98  return new Markers(MarkersType.SEGMENT);
99  }

◆ start()

Markers org.turro.marker.construct.Markers.start ( )

Definition at line 40 of file Markers.java.

40  {
41  this.start = true;
42  return this;
43  }

◆ url()

Markers org.turro.marker.construct.Markers.url ( String  url)

Definition at line 60 of file Markers.java.

60  {
61  this.url = url;
62  return this;
63  }

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