Java Doc for HtmlAttribute.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » designer » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » visualweb.api.designer » org.netbeans.modules.visualweb.designer.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.visualweb.designer.html.HtmlAttribute

HtmlAttribute
final public class HtmlAttribute (Code)
HTML attributes. Most of these are probably unused now so we should get rid of them.
author:
   Tor Norbye


Field Summary
final public static  StringACTION
    
final public static  StringALIGN
    
final public static  intALIGN_ID
    
final public static  StringALT
    
final public static  StringARCHIVE
    
final public static  StringBACKGROUND
    
final public static  intBACKGROUND_ID
    
final public static  StringBGCOLOR
    
final public static  intBGCOLOR_ID
    
final public static  StringBORDER
    
final public static  intBORDER_ID
    
final public static  StringCELLPADDING
    
final public static  StringCELLSPACING
    
final public static  StringCHECKED
    
final public static  StringCLASS
    
final public static  StringCLASSID
    
final public static  StringCLEAR
    
final public static  intCLEAR_ID
    
final public static  StringCODE
    
final public static  StringCODEBASE
    
final public static  StringCODETYPE
    
final public static  StringCOLOR
    
final public static  intCOLOR_ID
    
final public static  StringCOLS
    
final public static  StringCOLSPAN
    
final public static  StringCOMMENT
    
final public static  StringCOMPACT
    
final public static  StringCONTENT
    
final public static  StringCOORDS
    
final public static  StringDATA
    
final public static  StringDECLARE
    
final public static  StringDIR
    
final public static  StringENCTYPE
    
final public static  StringENDTAG
    
final public static  StringFACE
    
final public static  intFACE_ID
    
final public static  StringFOR
    
final public static  StringFRAME
    
final public static  StringFRAMEBORDER
    
final public static  StringHALIGN
    
final public static  StringHEIGHT
    
final public static  intHEIGHT_ID
    
final public static  StringHREF
    
final public static  StringHSPACE
    
final public static  StringHTTPEQUIV
    
final public static  StringID
    
final public static  StringISMAP
    
final public static  StringLANG
    
final public static  StringLANGUAGE
    
final public static  StringLINK
    
final public static  intLINK_ID
    
final public static  StringLOWSRC
    
final public static  StringMARGINHEIGHT
    
final public static  StringMARGINWIDTH
    
final public static  StringMAXLENGTH
    
final public static  StringMEDIA
    
final public static  StringMETHOD
    
final public static  StringMULTIPLE
    
final public static  StringNAME
    
final public static  StringNOHREF
    
final public static  StringNORESIZE
    
final public static  StringNOSHADE
    
final public static  StringNOWRAP
    
final public static  intNOWRAP_ID
    
final public static  StringONLOAD
    
final public static  StringPROMPT
    
final public static  StringREL
    
final public static  StringREV
    
final public static  StringROWS
    
final public static  StringROWSPAN
    
final public static  StringRULES
    
final public static  StringSCROLLING
    
final public static  StringSELECTED
    
final public static  StringSHAPE
    
final public static  StringSHAPES
    
final public static  StringSIZE
    
final public static  intSIZE_ID
    
final public static  StringSPAN
    
final public static  StringSRC
    
final public static  StringSTANDBY
    
final public static  StringSTART
    
final public static  StringSTYLE
    
final public static  StringTARGET
    
final public static  StringTEXT
    
final public static  intTEXT_ID
    
final public static  StringTITLE
    
final public static  StringTYPE
    
final public static  intTYPE_ID
    
final public static  StringUSEMAP
    
final public static  StringVALIGN
    
final public static  intVALIGN_ID
    
final public static  StringVALUE
    
final public static  StringVALUETYPE
    
final public static  byteVALUE_ABSOLUTE
    
final public static  byteVALUE_PERCENTAGE
    
final public static  byteVALUE_RELATIVE
    
final public static  StringVERSION
    
final public static  StringVSPACE
    
final public static  StringWIDTH
    
final public static  intWIDTH_ID
    


Method Summary
public static  intgetIntegerAttributeValue(Element el, String key, int def)
     Fetches an integer attribute value.
public static  bytegetNumberType(String s)
    
public static  intparseInt(String s)
     Very similar to Integer.parseInt (based on it), but more liberal about what it allows.

Field Detail
ACTION
final public static String ACTION(Code)



ALIGN
final public static String ALIGN(Code)



ALIGN_ID
final public static int ALIGN_ID(Code)



ALT
final public static String ALT(Code)



ARCHIVE
final public static String ARCHIVE(Code)



BACKGROUND
final public static String BACKGROUND(Code)



BACKGROUND_ID
final public static int BACKGROUND_ID(Code)



BGCOLOR
final public static String BGCOLOR(Code)



BGCOLOR_ID
final public static int BGCOLOR_ID(Code)



BORDER
final public static String BORDER(Code)



BORDER_ID
final public static int BORDER_ID(Code)



CELLPADDING
final public static String CELLPADDING(Code)



CELLSPACING
final public static String CELLSPACING(Code)



CHECKED
final public static String CHECKED(Code)



CLASS
final public static String CLASS(Code)



CLASSID
final public static String CLASSID(Code)



CLEAR
final public static String CLEAR(Code)



CLEAR_ID
final public static int CLEAR_ID(Code)



CODE
final public static String CODE(Code)



CODEBASE
final public static String CODEBASE(Code)



CODETYPE
final public static String CODETYPE(Code)



COLOR
final public static String COLOR(Code)



COLOR_ID
final public static int COLOR_ID(Code)



COLS
final public static String COLS(Code)



COLSPAN
final public static String COLSPAN(Code)



COMMENT
final public static String COMMENT(Code)



COMPACT
final public static String COMPACT(Code)



CONTENT
final public static String CONTENT(Code)



COORDS
final public static String COORDS(Code)



DATA
final public static String DATA(Code)



DECLARE
final public static String DECLARE(Code)



DIR
final public static String DIR(Code)



ENCTYPE
final public static String ENCTYPE(Code)



ENDTAG
final public static String ENDTAG(Code)



FACE
final public static String FACE(Code)



FACE_ID
final public static int FACE_ID(Code)



FOR
final public static String FOR(Code)



FRAME
final public static String FRAME(Code)



FRAMEBORDER
final public static String FRAMEBORDER(Code)



HALIGN
final public static String HALIGN(Code)



HEIGHT
final public static String HEIGHT(Code)



HEIGHT_ID
final public static int HEIGHT_ID(Code)



HREF
final public static String HREF(Code)



HSPACE
final public static String HSPACE(Code)



HTTPEQUIV
final public static String HTTPEQUIV(Code)



ID
final public static String ID(Code)



ISMAP
final public static String ISMAP(Code)



LANG
final public static String LANG(Code)



LANGUAGE
final public static String LANGUAGE(Code)



LINK
final public static String LINK(Code)



LINK_ID
final public static int LINK_ID(Code)



LOWSRC
final public static String LOWSRC(Code)



MARGINHEIGHT
final public static String MARGINHEIGHT(Code)



MARGINWIDTH
final public static String MARGINWIDTH(Code)



MAXLENGTH
final public static String MAXLENGTH(Code)



MEDIA
final public static String MEDIA(Code)



METHOD
final public static String METHOD(Code)



MULTIPLE
final public static String MULTIPLE(Code)



NAME
final public static String NAME(Code)



NOHREF
final public static String NOHREF(Code)



NORESIZE
final public static String NORESIZE(Code)



NOSHADE
final public static String NOSHADE(Code)



NOWRAP
final public static String NOWRAP(Code)



NOWRAP_ID
final public static int NOWRAP_ID(Code)



ONLOAD
final public static String ONLOAD(Code)



PROMPT
final public static String PROMPT(Code)



REL
final public static String REL(Code)



REV
final public static String REV(Code)



ROWS
final public static String ROWS(Code)



ROWSPAN
final public static String ROWSPAN(Code)



RULES
final public static String RULES(Code)



SCROLLING
final public static String SCROLLING(Code)



SELECTED
final public static String SELECTED(Code)



SHAPE
final public static String SHAPE(Code)



SHAPES
final public static String SHAPES(Code)



SIZE
final public static String SIZE(Code)



SIZE_ID
final public static int SIZE_ID(Code)



SPAN
final public static String SPAN(Code)



SRC
final public static String SRC(Code)



STANDBY
final public static String STANDBY(Code)



START
final public static String START(Code)



STYLE
final public static String STYLE(Code)



TARGET
final public static String TARGET(Code)



TEXT
final public static String TEXT(Code)



TEXT_ID
final public static int TEXT_ID(Code)



TITLE
final public static String TITLE(Code)



TYPE
final public static String TYPE(Code)



TYPE_ID
final public static int TYPE_ID(Code)



USEMAP
final public static String USEMAP(Code)



VALIGN
final public static String VALIGN(Code)



VALIGN_ID
final public static int VALIGN_ID(Code)



VALUE
final public static String VALUE(Code)



VALUETYPE
final public static String VALUETYPE(Code)



VALUE_ABSOLUTE
final public static byte VALUE_ABSOLUTE(Code)



VALUE_PERCENTAGE
final public static byte VALUE_PERCENTAGE(Code)



VALUE_RELATIVE
final public static byte VALUE_RELATIVE(Code)



VERSION
final public static String VERSION(Code)



VSPACE
final public static String VSPACE(Code)



WIDTH
final public static String WIDTH(Code)



WIDTH_ID
final public static int WIDTH_ID(Code)





Method Detail
getIntegerAttributeValue
public static int getIntegerAttributeValue(Element el, String key, int def)(Code)
Fetches an integer attribute value. HtmlAttribute values are stored as a string, and this is a convenience method to convert to an actual integer.
Parameters:
  attr - the set of attributes to use to try to fetch a value
Parameters:
  key - the key to use to fetch the value
Parameters:
  def - the default value to use if the attribute isn'tdefined or there is an error converting to an integer



getNumberType
public static byte getNumberType(String s)(Code)
Return the number type of the given String, if it represents a number, percentage or relative length



parseInt
public static int parseInt(String s)(Code)
Very similar to Integer.parseInt (based on it), but more liberal about what it allows. Specifically, it allows the string to have a suffix that's not a number; this is ignored. For example "100px" will return "100". Integer.parseInt would throw an exception. This specific case is useful, since for example a buggy tag might set border="1px" - confusing attributes with CSS style attributes - and this would with Integer.parseInt evaluate to 0, whereas both Mozilla and Safari will use a border of 1. Unlike Integer.parseInt, we only support base 10.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.