1 import org.aswing.Component; 2 import org.aswing.Icon; 3 4 /** 5 * Accordion Header 6 * @author iiley 7 */ 8 interface org.aswing.plaf.basic.accordion.AccordionHeader { 9 10 /** 11 * Sets text and icon to the header 12 */ 13 public function setTextAndIcon(text:String, icon:Icon):Void; 14 15 /** 16 * Sets whether it is selected 17 */ 18 public function setSelected(b:Boolean):Void; 19 20 /** 21 * The component represent the header and can fire the selection event 22 * through ON_RELEASE event. 23 */ 24 public function getComponent():Component; 25 }