src/main/java/com/spinyowl/legui/component/SelectBox.java
private SelectBoxElement<T> createSelectBoxElement(T element) {
    SelectBoxElement<T> boxElement = new SelectBoxElement<>(element, false);
    boxElement.getStyle().setHeight(elementHeight);
    boxElement.getStyle().setMinHeight(elementHeight);
    boxElement.getStyle().setPosition(PositionType.RELATIVE);
    boxElement.getListenerMap().getListeners(MouseClickEvent.class)
        .add(new SelectBoxElementClickListener<>(this));
    return boxElement;
  }
/**
   * Used to create {@link SelectBoxElement}.
   *
   * @param element element.
   * @return {@link SelectBoxElement} created on base of element.
   */
Used to create  SelectBoxElement.
@param element element.
@return  SelectBoxElement created on base of element.
Used to create SelectBoxElement . @param element element . @return SelectBoxElement created on base of element .
private SelectBoxElement<T> createSelectBoxElement(T element) {
    SelectBoxElement<T> boxElement = new SelectBoxElement<>(element, false);
    boxElement.getStyle().setHeight(elementHeight);
    boxElement.getStyle().setMinHeight(elementHeight);
    boxElement.getStyle().setPosition(PositionType.RELATIVE);
    boxElement.getListenerMap().getListeners(MouseClickEvent.class)
        .add(new SelectBoxElementClickListener<>(this));
    return boxElement;
  }
private SelectBoxElement < T > createSelectBoxElement ( T element ) { SelectBoxElement < T > boxElement = new SelectBoxElement < > ( element , false ) ; boxElement . getStyle ( ) . setHeight ( elementHeight ) ; boxElement . getStyle ( ) . setMinHeight ( elementHeight ) ; boxElement . getStyle ( ) . setPosition ( PositionType . RELATIVE ) ; boxElement . getListenerMap ( ) . getListeners ( MouseClickEvent . class ) . add ( new SelectBoxElementClickListener < > ( this ) ) ; return boxElement ; }
Used to create {@link SelectBoxElement}.
Used to create { @link SelectBoxElement } .