示例#1
0
 /** Add the navigation button(s) to the left of the grid row. */
 public void addNavButtons() {
   BaseApplication application = (BaseApplication) this.getTask().getApplication();
   new SCannedBox(
       this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR),
       this,
       null,
       ScreenConstants.DEFAULT_DISPLAY,
       null,
       null,
       AcctDetailDist.DIST_DISTRIBUTION,
       AcctDetailDist.DIST_DISTRIBUTION,
       application
           .getResources(ResourceConstants.ACCTPAY_RESOURCE, true)
           .getString(AcctDetailDist.DIST_DISTRIBUTION));
   super.addNavButtons();
 }
示例#2
0
 /** Add button(s) to the toolbar. */
 public void addToolbarButtons(ToolScreen toolScreen) {
   super.addToolbarButtons(toolScreen);
   BaseApplication application = (BaseApplication) this.getTask().getApplication();
   new SCannedBox(
       toolScreen.getNextLocation(ScreenConstants.NEXT_LOGICAL, ScreenConstants.SET_ANCHOR),
       toolScreen,
       null,
       ScreenConstants.DEFAULT_DISPLAY,
       null,
       application
           .getResources(ResourceConstants.ACCTPAY_RESOURCE, true)
           .getString(AcctDetailDist.DIST_DISTRIBUTION),
       AcctDetailDist.DIST_DISTRIBUTION,
       AcctDetailDist.DIST_DISTRIBUTION,
       null);
 }