⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uifacade.java

📁 It is all about project scheduling. GanttProject is a tool for creating a project schedule by means
💻 JAVA
字号:
/* * Created on 26.02.2005 */package net.sourceforge.ganttproject.gui;import java.awt.Component;import java.awt.Frame;import java.io.File;import javax.swing.Action;import net.sourceforge.ganttproject.chart.Chart;import net.sourceforge.ganttproject.chart.GanttChart;import net.sourceforge.ganttproject.gui.scrolling.ScrollingManager;import net.sourceforge.ganttproject.gui.zoom.ZoomManager;import net.sourceforge.ganttproject.undo.GPUndoManager;/** * @author bard */public interface UIFacade {    public static class Choice {        public static final Choice YES = new Choice();        public static final Choice NO = new Choice();        public static final Choice CANCEL = new Choice();        public static final Choice OK = new Choice();    }        public static final int GANTT_INDEX = 0;    public static final int RESOURCES_INDEX = 1;    ScrollingManager getScrollingManager();    //ChartViewState getGanttChartViewState();    ZoomManager getZoomManager();    GPUndoManager getUndoManager();    Choice showConfirmationDialog(String message, String title);    void showPopupMenu(Component invoker, Action[] actions, int x, int y);    void showDialog(Component content, Action[] buttonActions);    void showDialog(Component content, Action[] buttonActions, String title);    void showUndecoratedDialog(Component content, Action[] buttonActions);    void setStatusText(String text);    void showErrorDialog(String errorMessage);    void showErrorDialog(Throwable e);	void logErrorMessage(Exception e);    GanttChart getGanttChart();    Chart getResourceChart();    Chart getActiveChart();    /**     * Returns the index of the displayed tab.     *      * @return the index of the displayed tab.     */    int getViewIndex();    void setViewIndex(int viewIndex);    int getGanttDividerLocation();    void setGanttDividerLocation(int location);    int getResourceDividerLocation();    void setResourceDividerLocation(int location);    void refresh();        Frame getMainFrame();    void setWorkbenchTitle(String title);    //void changeWorkingDirectory(File parentFile);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -