Example usage for Java com.vaadin.ui Link fields, constructors, methods, implement or subclass
The text is from its open source code.
BorderStyle | TARGET_BORDER_NONE |
BorderStyle | TARGET_BORDER_DEFAULT |
Link() Creates a new link. | |
Link(String caption, Resource resource, String targetName, int width, int height, BorderStyle border) Creates a new instance of Link that opens a new window. | |
Link(String caption, Resource resource) Creates a new instance of Link. |
void | addStyleName(String style) |
String | getCaption() |
Resource | getResource() Returns the resource this link opens. |
void | setCaption(String caption) |
void | setDescription(String description) Sets the component's description. |
void | setEnabled(boolean enabled) |
void | setHeight(float height, Unit unit) |
void | setIcon(Resource icon) Sets the component's icon. |
void | setId(String id) |
void | setResource(Resource resource) Sets the resource this link opens. |
void | setSizeFull() |
void | setSizeUndefined() |
void | setStyleName(String style) |
void | setTargetBorder(BorderStyle targetBorder) Sets the border of the target window. |
void | setTargetName(String targetName) Sets the target window name. |
void | setVisible(boolean visible) |
void | setWidth(String width) |
void | setWidth(float width, Unit unit) |