blob: bfd8bd79b7f43c956cf02f2809ca7d736f4d1b63 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
XMLView (Apache Batik Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="XMLView (Apache Batik Javadoc)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XMLView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLToken.html" title="class in org.apache.batik.util.gui.xmleditor"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/apache/batik/util/gui/xmleditor/XMLView.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="XMLView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.batik.util.gui.xmleditor</FONT>
<BR>
Class XMLView</H2>
<PRE>
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true" title="class or interface in javax.swing.text">javax.swing.text.View</A>
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true" title="class or interface in javax.swing.text">javax.swing.text.PlainView</A>
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.batik.util.gui.xmleditor.XMLView</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true" title="class or interface in javax.swing">SwingConstants</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>XMLView</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true" title="class or interface in javax.swing.text">PlainView</A></DL>
</PRE>
<P>
View that uses the lexical information to determine the
style characteristics of the text that it renders. This
simply colorizes the various tokens and assumes a constant
font family and size.
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLContext.html" title="class in org.apache.batik.util.gui.xmleditor">XMLContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLView.html#context">context</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLScanner.html" title="class in org.apache.batik.util.gui.xmleditor">XMLScanner</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLView.html#lexer">lexer</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLView.html#tabSize">tabSize</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.swing.text.PlainView"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class javax.swing.text.<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true" title="class or interface in javax.swing.text">PlainView</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#metrics" title="class or interface in javax.swing.text">metrics</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.swing.text.View"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class javax.swing.text.<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true" title="class or interface in javax.swing.text">View</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#BadBreakWeight" title="class or interface in javax.swing.text">BadBreakWeight</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#ExcellentBreakWeight" title="class or interface in javax.swing.text">ExcellentBreakWeight</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#ForcedBreakWeight" title="class or interface in javax.swing.text">ForcedBreakWeight</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#GoodBreakWeight" title="class or interface in javax.swing.text">GoodBreakWeight</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#X_AXIS" title="class or interface in javax.swing.text">X_AXIS</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#Y_AXIS" title="class or interface in javax.swing.text">Y_AXIS</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.swing.SwingConstants"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from interface javax.swing.<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true" title="class or interface in javax.swing">SwingConstants</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#BOTTOM" title="class or interface in javax.swing">BOTTOM</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#CENTER" title="class or interface in javax.swing">CENTER</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#EAST" title="class or interface in javax.swing">EAST</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#HORIZONTAL" title="class or interface in javax.swing">HORIZONTAL</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#LEADING" title="class or interface in javax.swing">LEADING</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#LEFT" title="class or interface in javax.swing">LEFT</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#NEXT" title="class or interface in javax.swing">NEXT</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#NORTH" title="class or interface in javax.swing">NORTH</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#NORTH_EAST" title="class or interface in javax.swing">NORTH_EAST</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#NORTH_WEST" title="class or interface in javax.swing">NORTH_WEST</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#PREVIOUS" title="class or interface in javax.swing">PREVIOUS</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#RIGHT" title="class or interface in javax.swing">RIGHT</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#SOUTH" title="class or interface in javax.swing">SOUTH</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#SOUTH_EAST" title="class or interface in javax.swing">SOUTH_EAST</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#SOUTH_WEST" title="class or interface in javax.swing">SOUTH_WEST</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#TOP" title="class or interface in javax.swing">TOP</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#TRAILING" title="class or interface in javax.swing">TRAILING</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#VERTICAL" title="class or interface in javax.swing">VERTICAL</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#WEST" title="class or interface in javax.swing">WEST</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLView.html#XMLView(org.apache.batik.util.gui.xmleditor.XMLContext, javax.swing.text.Element)">XMLView</A></B>(<A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLContext.html" title="class in org.apache.batik.util.gui.xmleditor">XMLContext</A>&nbsp;context,
<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/Element.html?is-external=true" title="class or interface in javax.swing.text">Element</A>&nbsp;elem)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a simple colorized view of XML
text.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLView.html#drawUnselectedText(java.awt.Graphics, int, int, int, int)">drawUnselectedText</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics.html?is-external=true" title="class or interface in java.awt">Graphics</A>&nbsp;g,
int&nbsp;x,
int&nbsp;y,
int&nbsp;p0,
int&nbsp;p1)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLView.html#getTabSize()">getTabSize</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.PlainView"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class javax.swing.text.<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true" title="class or interface in javax.swing.text">PlainView</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)" title="class or interface in javax.swing.text">changedUpdate</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#damageLineRange(int, int, java.awt.Shape, java.awt.Component)" title="class or interface in javax.swing.text">damageLineRange</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#drawLine(int, java.awt.Graphics, int, int)" title="class or interface in javax.swing.text">drawLine</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#drawSelectedText(java.awt.Graphics, int, int, int, int)" title="class or interface in javax.swing.text">drawSelectedText</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#getLineBuffer()" title="class or interface in javax.swing.text">getLineBuffer</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#getPreferredSpan(int)" title="class or interface in javax.swing.text">getPreferredSpan</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)" title="class or interface in javax.swing.text">insertUpdate</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#lineToRect(java.awt.Shape, int)" title="class or interface in javax.swing.text">lineToRect</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)" title="class or interface in javax.swing.text">modelToView</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#nextTabStop(float, int)" title="class or interface in javax.swing.text">nextTabStop</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#paint(java.awt.Graphics, java.awt.Shape)" title="class or interface in javax.swing.text">paint</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)" title="class or interface in javax.swing.text">removeUpdate</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#setSize(float, float)" title="class or interface in javax.swing.text">setSize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#updateDamage(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)" title="class or interface in javax.swing.text">updateDamage</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#updateMetrics()" title="class or interface in javax.swing.text">updateMetrics</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#viewToModel(float, float, java.awt.Shape, javax.swing.text.Position.Bias[])" title="class or interface in javax.swing.text">viewToModel</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.View"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class javax.swing.text.<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true" title="class or interface in javax.swing.text">View</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#append(javax.swing.text.View)" title="class or interface in javax.swing.text">append</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#breakView(int, int, float, float)" title="class or interface in javax.swing.text">breakView</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#createFragment(int, int)" title="class or interface in javax.swing.text">createFragment</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#forwardUpdate(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)" title="class or interface in javax.swing.text">forwardUpdate</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#forwardUpdateToView(javax.swing.text.View, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)" title="class or interface in javax.swing.text">forwardUpdateToView</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getAlignment(int)" title="class or interface in javax.swing.text">getAlignment</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getAttributes()" title="class or interface in javax.swing.text">getAttributes</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getBreakWeight(int, float, float)" title="class or interface in javax.swing.text">getBreakWeight</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getChildAllocation(int, java.awt.Shape)" title="class or interface in javax.swing.text">getChildAllocation</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getContainer()" title="class or interface in javax.swing.text">getContainer</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getDocument()" title="class or interface in javax.swing.text">getDocument</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getElement()" title="class or interface in javax.swing.text">getElement</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getEndOffset()" title="class or interface in javax.swing.text">getEndOffset</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getGraphics()" title="class or interface in javax.swing.text">getGraphics</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getMaximumSpan(int)" title="class or interface in javax.swing.text">getMaximumSpan</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getMinimumSpan(int)" title="class or interface in javax.swing.text">getMinimumSpan</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getNextVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])" title="class or interface in javax.swing.text">getNextVisualPositionFrom</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getParent()" title="class or interface in javax.swing.text">getParent</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getResizeWeight(int)" title="class or interface in javax.swing.text">getResizeWeight</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getStartOffset()" title="class or interface in javax.swing.text">getStartOffset</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getToolTipText(float, float, java.awt.Shape)" title="class or interface in javax.swing.text">getToolTipText</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getView(int)" title="class or interface in javax.swing.text">getView</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getViewCount()" title="class or interface in javax.swing.text">getViewCount</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getViewFactory()" title="class or interface in javax.swing.text">getViewFactory</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getViewIndex(float, float, java.awt.Shape)" title="class or interface in javax.swing.text">getViewIndex</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#getViewIndex(int, javax.swing.text.Position.Bias)" title="class or interface in javax.swing.text">getViewIndex</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#insert(int, javax.swing.text.View)" title="class or interface in javax.swing.text">insert</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#isVisible()" title="class or interface in javax.swing.text">isVisible</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#modelToView(int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias, java.awt.Shape)" title="class or interface in javax.swing.text">modelToView</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#modelToView(int, java.awt.Shape)" title="class or interface in javax.swing.text">modelToView</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#preferenceChanged(javax.swing.text.View, boolean, boolean)" title="class or interface in javax.swing.text">preferenceChanged</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#remove(int)" title="class or interface in javax.swing.text">remove</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#removeAll()" title="class or interface in javax.swing.text">removeAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#replace(int, int, javax.swing.text.View[])" title="class or interface in javax.swing.text">replace</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#setParent(javax.swing.text.View)" title="class or interface in javax.swing.text">setParent</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#updateChildren(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, javax.swing.text.ViewFactory)" title="class or interface in javax.swing.text">updateChildren</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#updateLayout(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape)" title="class or interface in javax.swing.text">updateLayout</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/View.html?is-external=true#viewToModel(float, float, java.awt.Shape)" title="class or interface in javax.swing.text">viewToModel</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="context"><!-- --></A><H3>
context</H3>
<PRE>
protected <A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLContext.html" title="class in org.apache.batik.util.gui.xmleditor">XMLContext</A> <B>context</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="lexer"><!-- --></A><H3>
lexer</H3>
<PRE>
protected <A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLScanner.html" title="class in org.apache.batik.util.gui.xmleditor">XMLScanner</A> <B>lexer</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="tabSize"><!-- --></A><H3>
tabSize</H3>
<PRE>
protected int <B>tabSize</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="XMLView(org.apache.batik.util.gui.xmleditor.XMLContext, javax.swing.text.Element)"><!-- --></A><H3>
XMLView</H3>
<PRE>
public <B>XMLView</B>(<A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLContext.html" title="class in org.apache.batik.util.gui.xmleditor">XMLContext</A>&nbsp;context,
<A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/Element.html?is-external=true" title="class or interface in javax.swing.text">Element</A>&nbsp;elem)</PRE>
<DL>
<DD>Construct a simple colorized view of XML
text.
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getTabSize()"><!-- --></A><H3>
getTabSize</H3>
<PRE>
public int <B>getTabSize</B>()</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#getTabSize()" title="class or interface in javax.swing.text">getTabSize</A></CODE> in class <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true" title="class or interface in javax.swing.text">PlainView</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="drawUnselectedText(java.awt.Graphics, int, int, int, int)"><!-- --></A><H3>
drawUnselectedText</H3>
<PRE>
protected int <B>drawUnselectedText</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics.html?is-external=true" title="class or interface in java.awt">Graphics</A>&nbsp;g,
int&nbsp;x,
int&nbsp;y,
int&nbsp;p0,
int&nbsp;p1)
throws <A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/BadLocationException.html?is-external=true" title="class or interface in javax.swing.text">BadLocationException</A></PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true#drawUnselectedText(java.awt.Graphics, int, int, int, int)" title="class or interface in javax.swing.text">drawUnselectedText</A></CODE> in class <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/PlainView.html?is-external=true" title="class or interface in javax.swing.text">PlainView</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/javax/swing/text/BadLocationException.html?is-external=true" title="class or interface in javax.swing.text">BadLocationException</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XMLView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/apache/batik/util/gui/xmleditor/XMLToken.html" title="class in org.apache.batik.util.gui.xmleditor"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/apache/batik/util/gui/xmleditor/XMLView.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="XMLView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>