📄 html.java
字号:
/* HTML.java -- HTML document tag constants Copyright (C) 2002 Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING. If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library. Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule. An independent module is a module which is not derived fromor based on this library. If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so. If you do not wish to do so, delete thisexception statement from your version. */package javax.swing.text.html;import java.io.Serializable;import java.lang.reflect.Field;import java.lang.reflect.Modifier;import java.util.Map;import java.util.TreeMap;import javax.swing.text.AttributeSet;/** * HTML attribute and tag definitions. * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */public class HTML{ /** * Represents a HTML attribute. */ public static class Attribute implements Serializable { /** * The action attribute */ public static final Attribute ACTION = new Attribute("action"); /** * The align attribute */ public static final Attribute ALIGN = new Attribute("align"); /** * The alink attribute */ public static final Attribute ALINK = new Attribute("alink"); /** * The alt attribute */ public static final Attribute ALT = new Attribute("alt"); /** * The archive attribute */ public static final Attribute ARCHIVE = new Attribute("archive"); /** * The background attribute */ public static final Attribute BACKGROUND = new Attribute("background"); /** * The bgcolor attribute */ public static final Attribute BGCOLOR = new Attribute("bgcolor"); /** * The border attribute */ public static final Attribute BORDER = new Attribute("border"); /** * The cellpadding attribute */ public static final Attribute CELLPADDING = new Attribute("cellpadding"); /** * The cellspacing attribute */ public static final Attribute CELLSPACING = new Attribute("cellspacing"); /** * The checked attribute */ public static final Attribute CHECKED = new Attribute("checked"); /** * The class attribute */ public static final Attribute CLASS = new Attribute("class"); /** * The classid attribute */ public static final Attribute CLASSID = new Attribute("classid"); /** * The clear attribute */ public static final Attribute CLEAR = new Attribute("clear"); /** * The code attribute */ public static final Attribute CODE = new Attribute("code"); /** * The codebase attribute */ public static final Attribute CODEBASE = new Attribute("codebase"); /** * The codetype attribute */ public static final Attribute CODETYPE = new Attribute("codetype"); /** * The color attribute */ public static final Attribute COLOR = new Attribute("color"); /** * The cols attribute */ public static final Attribute COLS = new Attribute("cols"); /** * The colspan attribute */ public static final Attribute COLSPAN = new Attribute("colspan"); /** * The comment attribute */ public static final Attribute COMMENT = new Attribute("comment"); /** * The compact attribute */ public static final Attribute COMPACT = new Attribute("compact"); /** * The content attribute */ public static final Attribute CONTENT = new Attribute("content"); /** * The coords attribute */ public static final Attribute COORDS = new Attribute("coords"); /** * The data attribute */ public static final Attribute DATA = new Attribute("data"); /** * The declare attribute */ public static final Attribute DECLARE = new Attribute("declare"); /** * The dir attribute */ public static final Attribute DIR = new Attribute("dir"); /** * The dummy attribute */ public static final Attribute DUMMY = new Attribute("dummy"); /** * The enctype attribute */ public static final Attribute ENCTYPE = new Attribute("enctype"); /** * The endtag attribute */ public static final Attribute ENDTAG = new Attribute("endtag"); /** * The face attribute */ public static final Attribute FACE = new Attribute("face"); /** * The frameborder attribute */ public static final Attribute FRAMEBORDER = new Attribute("frameborder"); /** * The halign attribute */ public static final Attribute HALIGN = new Attribute("halign"); /** * The height attribute */ public static final Attribute HEIGHT = new Attribute("height"); /** * The href attribute */ public static final Attribute HREF = new Attribute("href"); /** * The hspace attribute */ public static final Attribute HSPACE = new Attribute("hspace"); /** * The http-equiv attribute */ public static final Attribute HTTPEQUIV = new Attribute("http-equiv"); /** * The id attribute */ public static final Attribute ID = new Attribute("id"); /** * The ismap attribute */ public static final Attribute ISMAP = new Attribute("ismap"); /** * The lang attribute */ public static final Attribute LANG = new Attribute("lang"); /** * The language attribute */ public static final Attribute LANGUAGE = new Attribute("language"); /** * The link attribute */ public static final Attribute LINK = new Attribute("link"); /** * The lowsrc attribute */ public static final Attribute LOWSRC = new Attribute("lowsrc"); /** * The marginheight attribute */ public static final Attribute MARGINHEIGHT = new Attribute("marginheight"); /** * The marginwidth attribute */ public static final Attribute MARGINWIDTH = new Attribute("marginwidth"); /** * The maxlength attribute */ public static final Attribute MAXLENGTH = new Attribute("maxlength"); /** * The media attribute */ public static final Attribute MEDIA = new Attribute("media"); /** * The method attribute */ public static final Attribute METHOD = new Attribute("method"); /** * The multiple attribute */ public static final Attribute MULTIPLE = new Attribute("multiple"); /** * The n attribute */ public static final Attribute N = new Attribute("n"); /** * The name attribute */ public static final Attribute NAME = new Attribute("name"); /** * The nohref attribute */ public static final Attribute NOHREF = new Attribute("nohref"); /** * The noresize attribute */ public static final Attribute NORESIZE = new Attribute("noresize"); /** * The noshade attribute */ public static final Attribute NOSHADE = new Attribute("noshade"); /** * The nowrap attribute */ public static final Attribute NOWRAP = new Attribute("nowrap"); /** * The prompt attribute */ public static final Attribute PROMPT = new Attribute("prompt"); /** * The rel attribute */ public static final Attribute REL = new Attribute("rel"); /** * The rev attribute */ public static final Attribute REV = new Attribute("rev"); /** * The rows attribute */ public static final Attribute ROWS = new Attribute("rows"); /** * The rowspan attribute */ public static final Attribute ROWSPAN = new Attribute("rowspan"); /** * The scrolling attribute */ public static final Attribute SCROLLING = new Attribute("scrolling"); /** * The selected attribute */ public static final Attribute SELECTED = new Attribute("selected"); /** * The shape attribute */ public static final Attribute SHAPE = new Attribute("shape"); /** * The shapes attribute */ public static final Attribute SHAPES = new Attribute("shapes"); /** * The size attribute */ public static final Attribute SIZE = new Attribute("size"); /** * The src attribute */ public static final Attribute SRC = new Attribute("src"); /** * The standby attribute */ public static final Attribute STANDBY = new Attribute("standby"); /** * The start attribute */ public static final Attribute START = new Attribute("start"); /** * The style attribute */ public static final Attribute STYLE = new Attribute("style"); /** * The target attribute */ public static final Attribute TARGET = new Attribute("target"); /** * The text attribute */ public static final Attribute TEXT = new Attribute("text"); /** * The title attribute */ public static final Attribute TITLE = new Attribute("title"); /** * The type attribute */ public static final Attribute TYPE = new Attribute("type"); /** * The usemap attribute */ public static final Attribute USEMAP = new Attribute("usemap"); /** * The valign attribute */ public static final Attribute VALIGN = new Attribute("valign");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -