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
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<IViewPortHandler>handler
-
Constructor Summary
Constructors Constructor Description CompoundViewPortHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHandler(IViewPortHandler handler)voidnextDay()Jumps one day forward.voidnextHour()Jumps to the next hour.voidnextMinute()Jumps to the next minute.voidnextMonth()Jumps to the next month.voidnextWeek()Jumps one week forward.voidprevDay()Jumps one day backwards.voidprevHour()Jumps to the previous hour.voidprevMinute()Jumps to the previous hour.voidprevMonth()Jumps to the previous month.voidprevWeek()Jumps one week backwards.voidremoveHandler(IViewPortHandler handler)voidscrollingLeft(int diffCount)voidscrollingRight(int diffCount)
-
-
-
Field Detail
-
handler
private java.util.List<IViewPortHandler> handler
-
-
Method Detail
-
addHandler
public void addHandler(IViewPortHandler handler)
-
removeHandler
public void removeHandler(IViewPortHandler handler)
-
scrollingLeft
public void scrollingLeft(int diffCount)
- Specified by:
scrollingLeftin interfaceIViewPortHandler
-
scrollingRight
public void scrollingRight(int diffCount)
- Specified by:
scrollingRightin interfaceIViewPortHandler
-
nextMonth
public void nextMonth()
Description copied from interface:IViewPortHandlerJumps to the next month.- Specified by:
nextMonthin interfaceIViewPortHandler
-
prevMonth
public void prevMonth()
Description copied from interface:IViewPortHandlerJumps to the previous month.- Specified by:
prevMonthin interfaceIViewPortHandler
-
nextWeek
public void nextWeek()
Description copied from interface:IViewPortHandlerJumps one week forward.- Specified by:
nextWeekin interfaceIViewPortHandler
-
prevWeek
public void prevWeek()
Description copied from interface:IViewPortHandlerJumps one week backwards.- Specified by:
prevWeekin interfaceIViewPortHandler
-
nextHour
public void nextHour()
Description copied from interface:IViewPortHandlerJumps to the next hour.- Specified by:
nextHourin interfaceIViewPortHandler
-
prevHour
public void prevHour()
Description copied from interface:IViewPortHandlerJumps to the previous hour.- Specified by:
prevHourin interfaceIViewPortHandler
-
nextMinute
public void nextMinute()
Description copied from interface:IViewPortHandler2Jumps to the next minute.- Specified by:
nextMinutein interfaceIViewPortHandler2
-
prevMinute
public void prevMinute()
Description copied from interface:IViewPortHandler2Jumps to the previous hour.- Specified by:
prevMinutein interfaceIViewPortHandler2
-
nextDay
public void nextDay()
Description copied from interface:IViewPortHandlerJumps one day forward.- Specified by:
nextDayin interfaceIViewPortHandler
-
prevDay
public void prevDay()
Description copied from interface:IViewPortHandlerJumps one day backwards.- Specified by:
prevDayin interfaceIViewPortHandler
-
-