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

📄 documentevent.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
 that the model changed, and there is change record for the  element this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>View.</B><B><A HREF="../../../../javax/swing/text/View.html#forwardUpdate(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">forwardUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.ElementChange.html">DocumentEvent.ElementChange</A>&nbsp;ec,              <A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,              <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,              <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forward the given DocumentEvent to the child views that need to be notified of the change to the model.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>View.</B><B><A HREF="../../../../javax/swing/text/View.html#forwardUpdateToView(javax.swing.text.View, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">forwardUpdateToView</A></B>(<A HREF="../../../../javax/swing/text/View.html">View</A>&nbsp;v,                    <A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,                    <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,                    <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forward the DocumentEvent to the give child view.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>View.</B><B><A HREF="../../../../javax/swing/text/View.html#updateLayout(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape)">updateLayout</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.ElementChange.html">DocumentEvent.ElementChange</A>&nbsp;ec,             <A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update the layout in response to receiving notification of change from the model.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>GlyphView.</B><B><A HREF="../../../../javax/swing/text/GlyphView.html#insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">insertUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,             <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification that something was inserted into  the document in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>GlyphView.</B><B><A HREF="../../../../javax/swing/text/GlyphView.html#removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">removeUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,             <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification that something was removed from the document in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>GlyphView.</B><B><A HREF="../../../../javax/swing/text/GlyphView.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">changedUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,              <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,              <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification from the document that attributes were changed in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>LabelView.</B><B><A HREF="../../../../javax/swing/text/LabelView.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">changedUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,              <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,              <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification from the document that attributes were changed in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>BoxView.</B><B><A HREF="../../../../javax/swing/text/BoxView.html#forwardUpdate(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">forwardUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.ElementChange.html">DocumentEvent.ElementChange</A>&nbsp;ec,              <A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e,              <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,              <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forward the given DocumentEvent to the child views that need to be notified of the change to the model.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>FlowView.</B><B><A HREF="../../../../javax/swing/text/FlowView.html#insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">insertUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,             <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification that something was inserted into the document in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>FlowView.</B><B><A HREF="../../../../javax/swing/text/FlowView.html#removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">removeUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,             <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification that something was removed from the document in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>FlowView.</B><B><A HREF="../../../../javax/swing/text/FlowView.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">changedUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,              <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,              <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification from the document that attributes were changed in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>ParagraphView.</B><B><A HREF="../../../../javax/swing/text/ParagraphView.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">changedUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,              <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,              <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification from the document that attributes were changed in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>PlainView.</B><B><A HREF="../../../../javax/swing/text/PlainView.html#insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">insertUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,             <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification that something was inserted into the document in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>PlainView.</B><B><A HREF="../../../../javax/swing/text/PlainView.html#removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">removeUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,             <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification that something was removed from the document in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>PlainView.</B><B><A HREF="../../../../javax/swing/text/PlainView.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">changedUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,              <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,              <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification from the document that attributes were changed in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>FieldView.</B><B><A HREF="../../../../javax/swing/text/FieldView.html#insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">insertUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,             <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification that something was inserted into the document in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>FieldView.</B><B><A HREF="../../../../javax/swing/text/FieldView.html#removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">removeUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;changes,             <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,             <A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives notification that something was removed from the document in a location that this view is responsible for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>AbstractDocument.</B><B><A HREF="../../../../javax/swing/text/AbstractDocument.html#fireInsertUpdate(javax.swing.event.DocumentEvent)">fireInsertUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies all listeners that have registered interest for notification on this event type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>AbstractDocument.</B><B><A HREF="../../../../javax/swing/text/AbstractDocument.html#fireChangedUpdate(javax.swing.event.DocumentEvent)">fireChangedUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies all listeners that have registered interest for notification on this event type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B>AbstractDocument.</B><B><A HREF="../../../../javax/swing/text/AbstractDocument.html#fireRemoveUpdate(javax.swing.event.DocumentEvent)">fireRemoveUpdate</A></B>(<A HREF="../../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies all listeners that have registered interest for

⌨️ 快捷键说明

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