Java Code Examples for com.google.gwt.user.client.ui.HasHorizontalAlignment#ALIGN_RIGHT
The following examples show how to use
com.google.gwt.user.client.ui.HasHorizontalAlignment#ALIGN_RIGHT .
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: CurriculaTable.java From unitime with Apache License 2.0 | 6 votes |
public HorizontalAlignmentConstant getColumnAlignment(CurriculumColumn column) { switch (column) { case SELECT: return HasHorizontalAlignment.ALIGN_CENTER; case LAST_LIKE: case PROJECTION: case REQUESTED: case ENROLLED: case SNAPSHOT_REQUESTED: case SNAPSHOT_PROJECTION: case REGISTERED: return HasHorizontalAlignment.ALIGN_RIGHT; default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 2
Source File: RoomsTable.java From unitime with Apache License 2.0 | 5 votes |
protected HorizontalAlignmentConstant getColumnAlignment(RoomsColumn column, int idx) { switch (column) { case CAPACITY: case EXAM_CAPACITY: case AREA: return HasHorizontalAlignment.ALIGN_RIGHT; default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 3
Source File: DataTable.java From unitime with Apache License 2.0 | 5 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { if (iHeader == null || iHeader.getAlignment() == null) return HasHorizontalAlignment.ALIGN_LEFT; switch (iHeader.getAlignment()) { case CENTER: return HasHorizontalAlignment.ALIGN_CENTER; case LEFT: return HasHorizontalAlignment.ALIGN_LEFT; case RIGHT: return HasHorizontalAlignment.ALIGN_RIGHT; default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 4
Source File: SimpleEditPage.java From unitime with Apache License 2.0 | 5 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { switch (iField.getType()) { case toggle: return HasHorizontalAlignment.ALIGN_CENTER; case students: return HasHorizontalAlignment.ALIGN_RIGHT; default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 5
Source File: EventMeetingTable.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 6
Source File: ReservationTable.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 7
Source File: SectioningStatusPage.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 8
Source File: SectioningStatusPage.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 9
Source File: SectioningStatusPage.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 10
Source File: SectioningStatusPage.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 11
Source File: SectioningStatusPage.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 12
Source File: SectioningStatusPage.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 13
Source File: SectioningReports.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 14
Source File: UniTimeTableHeader.java From unitime with Apache License 2.0 | 4 votes |
public static HorizontalAlignmentConstant getDefaultHorizontalAlignment() { if (LocaleInfo.getCurrentLocale().isRTL()) return HasHorizontalAlignment.ALIGN_RIGHT; return HasHorizontalAlignment.ALIGN_LEFT; }
Example 15
Source File: UniTimeTable.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 16
Source File: RoomsTable.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 17
Source File: RoomsTable.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }
Example 18
Source File: CurriculaCourses.java From unitime with Apache License 2.0 | 4 votes |
@Override public HorizontalAlignmentConstant getCellAlignment() { return HasHorizontalAlignment.ALIGN_RIGHT; }