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

📄 guioptionimpl.java

📁 java写的qq代码实现qq的部分功能
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/** * This class was generated from a set of XML constraints *   by the Enhydra Zeus XML Data Binding Framework. All *   source code in this file is constructed specifically *   to work with other Zeus-generated classes. If you *   modify this file by hand, you run the risk of breaking *   this interoperation, as well as introducing errors in *   source code compilation. * * * * * * MODIFY THIS FILE AT YOUR OWN RISK * * * * * * * To find out more about the Enhydra Zeus framework, you *   can point your browser at <http://zeus.enhydra.org> *   where you can download releases, join and discuss Zeus *   on user and developer mailing lists, and access source *   code. Please report any bugs through that website. */package edu.tsinghua.lumaqq.xml.sysopts;// Global Implementation Import Statementsimport java.io.*;import java.util.HashMap;import java.util.Iterator;import java.util.Map;import org.xml.sax.EntityResolver;import org.xml.sax.ErrorHandler;import org.xml.sax.InputSource;import org.xml.sax.Locator;import org.xml.sax.SAXException;import org.xml.sax.SAXParseException;import org.xml.sax.XMLReader;import org.xml.sax.ext.LexicalHandler;import org.xml.sax.helpers.DefaultHandler;import org.xml.sax.helpers.XMLReaderFactory;public class GUIOptionImpl extends DefaultHandler implements Cloneable, Unmarshallable, LexicalHandler, GUIOption {    private String blue;    private boolean zeus_BlueSet;    private String onlineTipLocationY;    private boolean zeus_OnlineTipLocationYSet;    private String onlineTipLocationX;    private boolean zeus_OnlineTipLocationXSet;    private String fontSize;    private boolean zeus_FontSizeSet;    private String groupBackground;    private boolean zeus_GroupBackgroundSet;    private String italic;    private static boolean zeus_ItalicInitialized;    private static java.util.Vector zeus_validItalic;    private boolean zeus_ItalicSet;    private String showOnlineTip;    private static boolean zeus_ShowOnlineTipInitialized;    private static java.util.Vector zeus_validShowOnlineTip;    private boolean zeus_ShowOnlineTipSet;    private String red;    private boolean zeus_RedSet;    private String autoHide;    private static boolean zeus_AutoHideInitialized;    private static java.util.Vector zeus_validAutoHide;    private boolean zeus_AutoHideSet;    private String showNick;    private static boolean zeus_ShowNickInitialized;    private static java.util.Vector zeus_validShowNick;    private boolean zeus_ShowNickSet;    private String green;    private boolean zeus_GreenSet;    private String showOnlineOnly;    private static boolean zeus_ShowOnlineOnlyInitialized;    private static java.util.Vector zeus_validShowOnlineOnly;    private boolean zeus_ShowOnlineOnlySet;    private String locationY;    private boolean zeus_LocationYSet;    private String locationX;    private boolean zeus_LocationXSet;    private String fontName;    private boolean zeus_FontNameSet;    private String height;    private boolean zeus_HeightSet;    private String bold;    private static boolean zeus_BoldInitialized;    private static java.util.Vector zeus_validBold;    private boolean zeus_BoldSet;    private String width;    private boolean zeus_WidthSet;    private String showViewBar;    private static boolean zeus_ShowViewBarInitialized;    private static java.util.Vector zeus_validShowViewBar;    private boolean zeus_ShowViewBarSet;    private String showTip;    private static boolean zeus_ShowTipInitialized;    private static java.util.Vector zeus_validShowTip;    private boolean zeus_ShowTipSet;    private String smallFace;    private static boolean zeus_SmallFaceInitialized;    private static java.util.Vector zeus_validSmallFace;    private boolean zeus_SmallFaceSet;    /** Any DOCTYPE reference/statements. */    private String docTypeString;    /** The encoding for the output document */    private String outputEncoding;    /** The current node in unmarshalling */    private Unmarshallable zeus_currentUNode;    /** The parent node in unmarshalling */    private Unmarshallable zeus_parentUNode;    /** Whether this node has been handled */    private boolean zeus_thisNodeHandled = false;    /** Whether a DTD exists for an unmarshal call */    private boolean hasDTD;    /** Whether validation is occurring */    private boolean validate;    /** The namespace mappings on this element */    private Map namespaceMappings;    /** The EntityResolver for SAX parsing to use */    private static EntityResolver entityResolver;    /** The ErrorHandler for SAX parsing to use */    private static ErrorHandler errorHandler;    private static GUIOptionImpl prototype = null;    public static void setPrototype(GUIOptionImpl prototype) {        GUIOptionImpl.prototype = prototype;    }    public static GUIOptionImpl newInstance() {        try {            return (prototype!=null)?(GUIOptionImpl)prototype.clone(): new GUIOptionImpl();        } catch (CloneNotSupportedException e) {            return null; // never        }    }    public GUIOptionImpl() {        zeus_BlueSet = false;        zeus_OnlineTipLocationYSet = false;        zeus_OnlineTipLocationXSet = false;        zeus_FontSizeSet = false;        zeus_GroupBackgroundSet = false;        zeus_ItalicInitialized = false;        zeus_validItalic = null;        zeus_ItalicSet = false;        zeus_ShowOnlineTipInitialized = false;        zeus_validShowOnlineTip = null;        zeus_ShowOnlineTipSet = false;        zeus_RedSet = false;        zeus_AutoHideInitialized = false;        zeus_validAutoHide = null;        zeus_AutoHideSet = false;        zeus_ShowNickInitialized = false;        zeus_validShowNick = null;        zeus_ShowNickSet = false;        zeus_GreenSet = false;        zeus_ShowOnlineOnlyInitialized = false;        zeus_validShowOnlineOnly = null;        zeus_ShowOnlineOnlySet = false;        zeus_LocationYSet = false;        zeus_LocationXSet = false;        zeus_FontNameSet = false;        zeus_HeightSet = false;        zeus_BoldInitialized = false;        zeus_validBold = null;        zeus_BoldSet = false;        zeus_WidthSet = false;        zeus_ShowViewBarInitialized = false;        zeus_validShowViewBar = null;        zeus_ShowViewBarSet = false;        zeus_ShowTipInitialized = false;        zeus_validShowTip = null;        zeus_ShowTipSet = false;        zeus_SmallFaceInitialized = false;        zeus_validSmallFace = null;        zeus_SmallFaceSet = false;        docTypeString = "";        hasDTD = false;        validate = false;        namespaceMappings = new HashMap();    }    public String getBlue() {        if(blue == null)             return "";        else            return blue;    }    public void setBlue(String blue) {        this.blue = blue;        zeus_BlueSet = true;    }    public String getOnlineTipLocationY() {        if(onlineTipLocationY == null)             return "";        else            return onlineTipLocationY;    }    public void setOnlineTipLocationY(String onlineTipLocationY) {        this.onlineTipLocationY = onlineTipLocationY;        zeus_OnlineTipLocationYSet = true;    }    public String getOnlineTipLocationX() {        if(onlineTipLocationX == null)             return "";        else            return onlineTipLocationX;    }    public void setOnlineTipLocationX(String onlineTipLocationX) {        this.onlineTipLocationX = onlineTipLocationX;        zeus_OnlineTipLocationXSet = true;    }    public String getFontSize() {        if(fontSize == null)             return "";        else            return fontSize;    }    public void setFontSize(String fontSize) {        this.fontSize = fontSize;        zeus_FontSizeSet = true;    }    public String getGroupBackground() {        if(groupBackground == null)             return "";        else            return groupBackground;    }    public void setGroupBackground(String groupBackground) {        this.groupBackground = groupBackground;        zeus_GroupBackgroundSet = true;    }    public String getItalic() {        if(italic == null)             return "";        else            return italic;    }    public void setItalic(String italic)        throws IllegalArgumentException {        if (!zeus_ItalicInitialized) {            zeus_validItalic = new java.util.Vector();            zeus_validItalic.addElement("true");            zeus_validItalic.addElement("false");            zeus_ItalicInitialized = true;        }        if (!zeus_validItalic.contains(italic)) {              throw new IllegalArgumentException("Illegal value for attribute 'italic'");        } else {              this.italic = italic;            this.zeus_ItalicSet = true;        }    }    public String getShowOnlineTip() {        if(showOnlineTip == null)             return "";        else            return showOnlineTip;    }    public void setShowOnlineTip(String showOnlineTip)        throws IllegalArgumentException {        if (!zeus_ShowOnlineTipInitialized) {            zeus_validShowOnlineTip = new java.util.Vector();            zeus_validShowOnlineTip.addElement("true");            zeus_validShowOnlineTip.addElement("false");            zeus_ShowOnlineTipInitialized = true;        }        if (!zeus_validShowOnlineTip.contains(showOnlineTip)) {              throw new IllegalArgumentException("Illegal value for attribute 'showOnlineTip'");        } else {              this.showOnlineTip = showOnlineTip;            this.zeus_ShowOnlineTipSet = true;        }    }    public String getRed() {        if(red == null)             return "";        else            return red;    }    public void setRed(String red) {        this.red = red;        zeus_RedSet = true;    }    public String getAutoHide() {        if(autoHide == null)             return "";        else            return autoHide;    }    public void setAutoHide(String autoHide)        throws IllegalArgumentException {        if (!zeus_AutoHideInitialized) {            zeus_validAutoHide = new java.util.Vector();            zeus_validAutoHide.addElement("true");            zeus_validAutoHide.addElement("false");            zeus_AutoHideInitialized = true;        }        if (!zeus_validAutoHide.contains(autoHide)) {              throw new IllegalArgumentException("Illegal value for attribute 'autoHide'");        } else {              this.autoHide = autoHide;            this.zeus_AutoHideSet = true;        }    }    public String getShowNick() {        if(showNick == null)             return "";        else            return showNick;    }    public void setShowNick(String showNick)        throws IllegalArgumentException {        if (!zeus_ShowNickInitialized) {            zeus_validShowNick = new java.util.Vector();            zeus_validShowNick.addElement("true");            zeus_validShowNick.addElement("false");            zeus_ShowNickInitialized = true;        }        if (!zeus_validShowNick.contains(showNick)) {              throw new IllegalArgumentException("Illegal value for attribute 'showNick'");        } else {              this.showNick = showNick;            this.zeus_ShowNickSet = true;        }    }    public String getGreen() {        if(green == null)             return "";        else            return green;    }    public void setGreen(String green) {        this.green = green;        zeus_GreenSet = true;    }    public String getShowOnlineOnly() {        if(showOnlineOnly == null)             return "";        else            return showOnlineOnly;    }    public void setShowOnlineOnly(String showOnlineOnly)        throws IllegalArgumentException {        if (!zeus_ShowOnlineOnlyInitialized) {            zeus_validShowOnlineOnly = new java.util.Vector();            zeus_validShowOnlineOnly.addElement("true");            zeus_validShowOnlineOnly.addElement("false");            zeus_ShowOnlineOnlyInitialized = true;        }        if (!zeus_validShowOnlineOnly.contains(showOnlineOnly)) {              throw new IllegalArgumentException("Illegal value for attribute 'showOnlineOnly'");        } else {              this.showOnlineOnly = showOnlineOnly;            this.zeus_ShowOnlineOnlySet = true;        }    }    public String getLocationY() {        if(locationY == null)             return "";        else

⌨️ 快捷键说明

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