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

📄 viewtaghandler.java

📁 It is all about project scheduling. GanttProject is a tool for creating a project schedule by means
💻 JAVA
字号:
/* * Created on 06.03.2005 */package net.sourceforge.ganttproject.parser;import net.sourceforge.ganttproject.gui.UIFacade;import org.xml.sax.Attributes;/** * @author bard */public class ViewTagHandler implements TagHandler {    private final UIFacade myUIFacade;    public ViewTagHandler(UIFacade uiFacade) {        myUIFacade = uiFacade;    }    public void startElement(String namespaceURI, String sName, String qName,            Attributes attrs) throws FileFormatException {        if ("view".equals(qName)) {            loadViewState(attrs);        }    }    private void loadViewState(Attributes attrs) {        myUIFacade.getZoomManager().setZoomState(                attrs.getValue("zooming-state"));    }    public void endElement(String namespaceURI, String sName, String qName) {    }}

⌨️ 快捷键说明

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