1 /* 2 * Copyright (c) 2000 World Wide Web Consortium, 3 * (Massachusetts Institute of Technology, Institut National de 4 * Recherche en Informatique et en Automatique, Keio University). All 5 * Rights Reserved. This program is distributed under the W3C's Software 6 * Intellectual Property License. This program is distributed in the 7 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even 8 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 9 * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more 10 * details. 11 */ 12 13 package org.w3c.dom.smil; 14 15 import org.w3c.dom.DOMException; 16 17 /** 18 * This interface is used by SMIL elements root-layout, top-layout and region. 19 * 20 */ 21 public interface ElementLayout { 22 /** 23 * @exception DOMException 24 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. 25 */ 26 public String getTitle(); 27 public void setTitle(String title) 28 throws DOMException; 29 30 /** 31 * @exception DOMException 32 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. 33 */ 34 public String getBackgroundColor(); 35 public void setBackgroundColor(String backgroundColor) 36 throws DOMException; 37 38 /** 39 * @exception DOMException 40 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. 41 */ 42 public int getHeight(); 43 public void setHeight(int height) 44 throws DOMException; 45 46 /** 47 * @exception DOMException 48 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. 49 */ 50 public int getWidth(); 51 public void setWidth(int width) 52 throws DOMException; 53 54 } 55 56