com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant Java Examples

The following examples show how to use com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant. 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: TemplateWizardPopup.java    From document-management-system with GNU General Public License v2.0 4 votes vote down vote up
/**
 * setCellVerticalAlignment
 */
public void setCellVerticalAlignment(Widget w, VerticalAlignmentConstant align) {
	vPanel.setCellVerticalAlignment(w, align);
}
 
Example #2
Source File: WizardPopup.java    From document-management-system with GNU General Public License v2.0 4 votes vote down vote up
/**
 * setCellVerticalAlignment
 */
public void setCellVerticalAlignment(Widget w, VerticalAlignmentConstant align) {
	vPanel.setCellVerticalAlignment(w, align);
}
 
Example #3
Source File: SuggestionsTable.java    From unitime with Apache License 2.0 4 votes vote down vote up
@Override
public VerticalAlignmentConstant getVerticalCellAlignment() {
	return HasVerticalAlignment.ALIGN_MIDDLE;
}
 
Example #4
Source File: EnrollmentTable.java    From unitime with Apache License 2.0 4 votes vote down vote up
@Override
public VerticalAlignmentConstant getVerticalCellAlignment() {
	return HasVerticalAlignment.ALIGN_TOP;
}
 
Example #5
Source File: CellPanel.java    From consulo with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("deprecation")
protected void setCellVerticalAlignment(Element td,
                                        VerticalAlignmentConstant align) {
  setCellVerticalAlignment(DOM.asOld(td), align);
}
 
Example #6
Source File: CellPanel.java    From consulo with Apache License 2.0 4 votes vote down vote up
/**
 * @deprecated Call and override {@link #setCellVerticalAlignment(Element,
 *             VerticalAlignmentConstant)} instead.
 */
@Deprecated
protected void setCellVerticalAlignment(com.google.gwt.user.client.Element td,
                                        VerticalAlignmentConstant align) {
  td.getStyle().setProperty("verticalAlign", align.getVerticalAlignString());
}
 
Example #7
Source File: CellPanel.java    From consulo with Apache License 2.0 3 votes vote down vote up
/**
 * Sets the vertical alignment of the given widget within its cell.
 *
 * @param w the widget whose vertical alignment is to be set
 * @param align the widget's vertical alignment, as defined in
 *          {@link HasVerticalAlignment}.
 */
public void setCellVerticalAlignment(Widget w, HasVerticalAlignment.VerticalAlignmentConstant align) {
  Element td = getWidgetTd(w);
  if (td != null) {
    setCellVerticalAlignment(td, align);
  }
}
 
Example #8
Source File: CellPanel.java    From consulo with Apache License 2.0 2 votes vote down vote up
/**
 * Overloaded version for IsWidget.
 *
 * @see #setCellVerticalAlignment(Widget,HasVerticalAlignment.VerticalAlignmentConstant)
 */
public void setCellVerticalAlignment(IsWidget w, VerticalAlignmentConstant align) {
  this.setCellVerticalAlignment(w.asWidget(),align);
}
 
Example #9
Source File: UniTimeTable.java    From unitime with Apache License 2.0 votes vote down vote up
public VerticalAlignmentConstant getVerticalCellAlignment(); 
Example #10
Source File: WebTable.java    From unitime with Apache License 2.0 votes vote down vote up
public VerticalAlignmentConstant getVerticalAlignment() { return iVerticalAlignment; } 
Example #11
Source File: WebTable.java    From unitime with Apache License 2.0 votes vote down vote up
public void setVerticalAlignment(VerticalAlignmentConstant vertical) { iVerticalAlignment = vertical; }