com.google.gwt.event.logical.shared.OpenHandler Java Examples
The following examples show how to use
com.google.gwt.event.logical.shared.OpenHandler.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CurriculaCourses.java From unitime with Apache License 2.0 | 5 votes |
public void addBlankLine() { List<Widget> line = new ArrayList<Widget>(); HorizontalPanel hp = new HorizontalPanel(); line.add(hp); CurriculaCourseSelectionBox cx = new CurriculaCourseSelectionBox(); cx.setWidth("130px"); cx.addCourseSelectionHandler(iCourseChangedHandler); if (cx.getCourseFinder() instanceof HasOpenHandlers) ((HasOpenHandlers<PopupPanel>)cx.getCourseFinder()).addOpenHandler(new OpenHandler<PopupPanel>() { @Override public void onOpen(OpenEvent<PopupPanel> event) { iTable.clearHover(); } }); if (!iEditable) cx.setEnabled(false); line.add(cx); for (int col = 0; col < iClassifications.getClassifications().size(); col++) { ShareTextBox ex = new ShareTextBox(col, null, null); if (!iEditable) ex.setReadOnly(true); line.add(ex); EnrollmentLabel note = new EnrollmentLabel(col, null, null, null, null, null, null); line.add(note); } int row = iTable.addRow("", line); iTable.getRowFormatter().addStyleName(row, "unitime-NoPrint"); if (iVisibleCourses != null) iTable.getRowFormatter().setVisible(row, false); for (int col = 0; col < line.size(); col++) if (!iTable.getCellFormatter().isVisible(0, col)) iTable.getCellFormatter().setVisible(row, col, false); }
Example #2
Source File: UniTimeDialogBox.java From unitime with Apache License 2.0 | 4 votes |
public HandlerRegistration addOpenHandler(OpenHandler<UniTimeDialogBox> handler) { return addHandler(handler, OpenEvent.getType()); }
Example #3
Source File: TractionDialogBox.java From gwt-traction with Apache License 2.0 | 4 votes |
@Override public HandlerRegistration addOpenHandler(OpenHandler<TractionDialogBox> handler) { return addHandler(handler, OpenEvent.getType()); }