daily pastebin goal
95%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Ajout des listeners et des styles sur les boutons
  2.     radioRole.setStyleName(Constants.RADIO_LISTE_PROJET);
  3.     // radioRole.setst
  4.     radioRole.addListener(Events.OnClick, new ClickFiltreListener(this));
  5.     radioRole.setValue(Boolean.FALSE);
  6.     radioRole.setHideMode(HideMode.VISIBILITY);
  7.  
  8.     radioRattachement.setStyleName(Constants.RADIO_LISTE_PROJET);
  9.     radioRattachement.addListener(Events.OnClick, new ClickFiltreListener(
  10.             this));
  11.     radioRattachement.setValue(Boolean.TRUE);
  12.     radioRattachement.setHideMode(HideMode.VISIBILITY);
  13.  
  14.     // Creation du groupe de radio et ajout des 2 boutons dans ce groupe
  15.     radioGroup.add(radioRattachement);
  16.     radioGroup.add(radioRole);
  17.     radioGroup.setOrientation(Orientation.VERTICAL);
  18.     radioGroup.setWidth(80);
  19.     radioGroup.setHeight(80);
  20.     radioGroup.setHideLabel(Boolean.TRUE);
  21.  
  22.     // Panel contenat le groupe de radio
  23.     final ContentPanel radioGroupPanel = new ContentPanel();
  24.     final FormLayout boutonPosteLayout = new FormLayout();
  25.     // boutonPosteLayout.setPadding(Constants.INT_PADDING_0);
  26.     // boutonPosteLayout.setLabelWidth(Constants.INT_PIXELS_40);
  27.     radioGroupPanel.setLayout(boutonPosteLayout);
  28.     radioGroupPanel.add(radioGroup);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top