Class CompoundViewPortHandler
java.lang.Object
org.eclipse.nebula.widgets.ganttchart.CompoundViewPortHandler
- All Implemented Interfaces:
IViewPortHandler
,IViewPortHandler2
public class CompoundViewPortHandler extends java.lang.Object implements IViewPortHandler2
-
Constructor Summary
Constructors Constructor Description CompoundViewPortHandler()
-
Method Summary
Modifier and Type Method Description void
addHandler(IViewPortHandler handler)
void
nextDay()
Jumps one day forward.void
nextHour()
Jumps to the next hour.void
nextMinute()
Jumps to the next minute.void
nextMonth()
Jumps to the next month.void
nextWeek()
Jumps one week forward.void
prevDay()
Jumps one day backwards.void
prevHour()
Jumps to the previous hour.void
prevMinute()
Jumps to the previous hour.void
prevMonth()
Jumps to the previous month.void
prevWeek()
Jumps one week backwards.void
removeHandler(IViewPortHandler handler)
void
scrollingLeft(int diffCount)
void
scrollingRight(int diffCount)
-
Constructor Details
-
CompoundViewPortHandler
public CompoundViewPortHandler()
-
-
Method Details
-
addHandler
-
removeHandler
-
scrollingLeft
public void scrollingLeft(int diffCount)- Specified by:
scrollingLeft
in interfaceIViewPortHandler
-
scrollingRight
public void scrollingRight(int diffCount)- Specified by:
scrollingRight
in interfaceIViewPortHandler
-
nextMonth
public void nextMonth()Description copied from interface:IViewPortHandler
Jumps to the next month.- Specified by:
nextMonth
in interfaceIViewPortHandler
-
prevMonth
public void prevMonth()Description copied from interface:IViewPortHandler
Jumps to the previous month.- Specified by:
prevMonth
in interfaceIViewPortHandler
-
nextWeek
public void nextWeek()Description copied from interface:IViewPortHandler
Jumps one week forward.- Specified by:
nextWeek
in interfaceIViewPortHandler
-
prevWeek
public void prevWeek()Description copied from interface:IViewPortHandler
Jumps one week backwards.- Specified by:
prevWeek
in interfaceIViewPortHandler
-
nextHour
public void nextHour()Description copied from interface:IViewPortHandler
Jumps to the next hour.- Specified by:
nextHour
in interfaceIViewPortHandler
-
prevHour
public void prevHour()Description copied from interface:IViewPortHandler
Jumps to the previous hour.- Specified by:
prevHour
in interfaceIViewPortHandler
-
nextMinute
public void nextMinute()Description copied from interface:IViewPortHandler2
Jumps to the next minute.- Specified by:
nextMinute
in interfaceIViewPortHandler2
-
prevMinute
public void prevMinute()Description copied from interface:IViewPortHandler2
Jumps to the previous hour.- Specified by:
prevMinute
in interfaceIViewPortHandler2
-
nextDay
public void nextDay()Description copied from interface:IViewPortHandler
Jumps one day forward.- Specified by:
nextDay
in interfaceIViewPortHandler
-
prevDay
public void prevDay()Description copied from interface:IViewPortHandler
Jumps one day backwards.- Specified by:
prevDay
in interfaceIViewPortHandler
-