Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Ajout des listeners et des styles sur les boutons
- radioRole.setStyleName(Constants.RADIO_LISTE_PROJET);
- // radioRole.setst
- radioRole.addListener(Events.OnClick, new ClickFiltreListener(this));
- radioRole.setValue(Boolean.FALSE);
- radioRole.setHideMode(HideMode.VISIBILITY);
- radioRattachement.setStyleName(Constants.RADIO_LISTE_PROJET);
- radioRattachement.addListener(Events.OnClick, new ClickFiltreListener(
- this));
- radioRattachement.setValue(Boolean.TRUE);
- radioRattachement.setHideMode(HideMode.VISIBILITY);
- // Creation du groupe de radio et ajout des 2 boutons dans ce groupe
- radioGroup.add(radioRattachement);
- radioGroup.add(radioRole);
- radioGroup.setOrientation(Orientation.VERTICAL);
- radioGroup.setWidth(80);
- radioGroup.setHeight(80);
- radioGroup.setHideLabel(Boolean.TRUE);
- // Panel contenat le groupe de radio
- final ContentPanel radioGroupPanel = new ContentPanel();
- final FormLayout boutonPosteLayout = new FormLayout();
- // boutonPosteLayout.setPadding(Constants.INT_PADDING_0);
- // boutonPosteLayout.setLabelWidth(Constants.INT_PIXELS_40);
- radioGroupPanel.setLayout(boutonPosteLayout);
- radioGroupPanel.add(radioGroup);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement