Java Code Examples for com.google.gwt.dom.client.Style.setBorderStyle()

The following are Jave code examples for showing how to use setBorderStyle() of the com.google.gwt.dom.client.Style class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: che   File: SpeedSearch.java   Source Code and License Vote up 5 votes
private void initSearchPopUp() {
  this.searchPopUp = new SearchPopUp();
  Style style = this.searchPopUp.getElement().getStyle();

  style.setBackgroundColor("grey");
  style.setBorderStyle(Style.BorderStyle.SOLID);
  style.setBorderColor("#dbdbdb");
  style.setBorderWidth(1, Style.Unit.PX);
  style.setPadding(2, Style.Unit.PX);
  style.setPosition(Style.Position.FIXED);
  style.setTop(100, Style.Unit.PX);
  style.setLeft(20, Style.Unit.PX);
}