コード例 #1
0
 public String removeServer() {
   String tip = "Remove a database server";
   Label text = Label.of("-");
   URIObject target = URIs.of("remove");
   URIObject image = Icons.MINUS;
   return Link.textTargetImageAlt(text, target, image, tip).toString();
 }
コード例 #2
0
 public String shutdown() {
   String tip = "Shutdown DBBrowser";
   Label text = Label.of("X");
   URIObject target = URIs.of("exit");
   URIObject image = Icons.OFF;
   return Link.textTargetImageAlt(text, target, image, tip).toString();
 }
コード例 #3
0
 public String addServer() {
   String tip = "Add a database server";
   Label text = Label.of("+");
   URIObject target = URIs.of("add");
   URIObject image = Icons.PLUS;
   return Link.textTargetImageAlt(text, target, image, tip).toString();
 }