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; 14 15 16 /** 17 * Extends a TableComponent. An extension is for example 18 * "drill down navigation" that may or may not be available. 19 * 20 * @author av 21 */ 22 public interface TableComponentExtension extends PartBuilder { 23 /** 24 * unique name of this extension. Used for JSP programming 25 */ 26 String getId(); 27 28 /** 29 * enable or disable this extension. A disabled extension should not be rendered 30 * and should not respond to user actions. 31 */ 32 void setEnabled(boolean enabled); 33 boolean isEnabled(); 34 35 } 36