Java Code Examples for com.google.gwt.user.client.ui.HasHorizontalAlignment#ALIGN_LEFT
The following examples show how to use
com.google.gwt.user.client.ui.HasHorizontalAlignment#ALIGN_LEFT .
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: 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 3
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 4
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 5
Source File: InstructorAttributesTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(AttributesColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 6
Source File: InstructorsTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(InstructorsColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 7
Source File: TasksTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(TasksTableColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 8
Source File: TaskExecutionsTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(TaskExecutionsTableColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 9
Source File: RoomGroupsTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(RoomGroupsColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 10
Source File: RoomFeaturesTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(RoomFeaturesColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 11
Source File: ConflictTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(ConflictColum column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 12
Source File: SuggestionsTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(SuggestionColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
Example 13
Source File: AssignmentTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(AssignmentColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }
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: PublishedSectioningSolutionsTable.java From unitime with Apache License 2.0 | 4 votes |
protected HorizontalAlignmentConstant getColumnAlignment(TableColumn column, int idx) { switch (column) { default: return HasHorizontalAlignment.ALIGN_LEFT; } }