1 14 package org.wings.plaf.css; 15 16 import java.io.IOException ; 17 18 import org.wings.SCardLayout; 19 import org.wings.SComponent; 20 import org.wings.SLayoutManager; 21 import org.wings.io.Device; 22 import org.wings.plaf.LayoutCG; 23 24 public class CardLayoutCG implements LayoutCG { 25 30 public void write(Device d, SLayoutManager l) 31 throws IOException { 32 SCardLayout cardLayout = (SCardLayout) l; 33 SComponent c = cardLayout.getVisibleComponent(); 34 if (c != null) { 36 c.write(d); 37 } 38 } 39 } 40 41 42 | Popular Tags |