Java 超级链接Link

阅读更多

// Textual link  
Link link = new Link("Click Me!", 
        new ExternalResource("http://vaadin.com/")); 
    ... 
// Image link  
Link iconic = new Link(null, 
        new ExternalResource("http://vaadin.com/")); 
iconic.setIcon(new ThemeResource("img/nicubunu_Chain.png")); 
 
// Image + caption  
Link combo = new Link("To appease both literal and visual", 
        new ExternalResource("http://vaadin.com/")); 
combo.setIcon(new ThemeResource("img/nicubunu_Chain.png")); 

你可能感兴趣的:(Java 超级链接Link)