本文整理汇总了Java中net.sf.memoranda.util.AgendaGenerator类的典型用法代码示例。如果您正苦于以下问题:Java AgendaGenerator类的具体用法?Java AgendaGenerator怎么用?Java AgendaGenerator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AgendaGenerator类属于net.sf.memoranda.util包,在下文中一共展示了AgendaGenerator类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: refresh
import net.sf.memoranda.util.AgendaGenerator; //导入依赖的package包/类
public void refresh(CalendarDate date) {
viewer.setText(AgendaGenerator.getAgenda(date, expandedTasks));
SwingUtilities.invokeLater(new Runnable() {
public void run() {
if (gotoTask != null) {
viewer.scrollToReference(gotoTask);
scrollPane.setViewportView(viewer);
Util.debug("Set view port to " + gotoTask);
}
}
});
Util.debug("Summary updated.");
}
示例2: refresh
import net.sf.memoranda.util.AgendaGenerator; //导入依赖的package包/类
public static void refresh(CalendarDate date) {
setRefreshCount(getRefreshCount() + 1);
viewer.setText(AgendaGenerator.getAgenda(date,expandedTasks));
SwingUtilities.invokeLater(new Runnable(){
public void run() {
refreshProjButtons();
if(gotoTask != null) {
viewer.scrollToReference(gotoTask);
scrollPane.setViewportView(viewer);
Util.debug("Set view port to " + gotoTask);
}
}
});
Util.debug("Summary updated.");
}
示例3: refresh
import net.sf.memoranda.util.AgendaGenerator; //导入依赖的package包/类
public void refresh(CalendarDate date) {
viewer.setText(AgendaGenerator.getAgenda(date,expandedTasks));
SwingUtilities.invokeLater(new Runnable() {
public void run() {
if(gotoTask != null) {
viewer.scrollToReference(gotoTask);
scrollPane.setViewportView(viewer);
Util.debug("Set view port to " + gotoTask);
}
}
});
Util.debug("Summary updated.");
}
示例4: refresh
import net.sf.memoranda.util.AgendaGenerator; //导入依赖的package包/类
public void refresh(CalendarDate date) {
viewer.setText(AgendaGenerator.getAgenda(date, expandedTasks));
SwingUtilities.invokeLater(new Runnable() {
public void run() {
if (gotoTask != null) {
viewer.scrollToReference(gotoTask);
scrollPane.setViewportView(viewer);
Util.debug("Set view port to " + gotoTask);
}
}
});
Util.debug("Summary updated.");
}
示例5: refresh
import net.sf.memoranda.util.AgendaGenerator; //导入依赖的package包/类
public void refresh(CalendarDate date) {
viewer.setText(AgendaGenerator.getAgenda(date, expandedTasks));
SwingUtilities.invokeLater(() -> {
if (gotoTask != null) {
viewer.scrollToReference(gotoTask);
scrollPane.setViewportView(viewer);
Util.debug("Set view port to " + gotoTask);
}
});
Util.debug("Summary updated.");
}
示例6: refresh
import net.sf.memoranda.util.AgendaGenerator; //导入依赖的package包/类
public void refresh(CalendarDate date) {
viewer.setText(AgendaGenerator.getAgenda(date, expandedTasks));
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
if (gotoTask != null) {
viewer.scrollToReference(gotoTask);
scrollPane.setViewportView(viewer);
Util.debug("Set view port to " + gotoTask);
}
}
});
Util.debug("Summary updated.");
}