KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > table > span > PropertyHeading


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.jpivot.table.span;
14
15 import com.tonbeller.jpivot.olap.model.Displayable;
16 import com.tonbeller.jpivot.olap.model.Visitor;
17
18 public class PropertyHeading implements Displayable {
19   String JavaDoc label;
20
21   public PropertyHeading(String JavaDoc label) {
22     this.label = label;
23   }
24
25   public void accept(Visitor visitor) {
26     ((SpanVisitor)visitor).visitPropertyHeading(this);
27   }
28
29   public String JavaDoc getLabel() {
30     return label;
31   }
32
33   public void setLabel(String JavaDoc string) {
34     label = string;
35   }
36
37 }
38
Popular Tags