📄 serialized-form.html
字号:
<A HREF="java/lang/String.html">String</A> <B>name</B></PRE><DL><DD>A components name. This field can be null.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><A HREF="java/awt/Component.html#getName()"><CODE>Component.getName()</CODE></A>, <A HREF="java/awt/Component.html#setName(java.lang.String)"><CODE>Component.setName(String)</CODE></A></DL></DD></DL><HR><H3>nameExplicitlySet</H3><PRE>boolean <B>nameExplicitlySet</B></PRE><DL><DD>A bool to determine whether the name has been set explicitly. nameExplicitlySet will be false if the name has not been set and true if it has.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><A HREF="java/awt/Component.html#getName()"><CODE>Component.getName()</CODE></A>, <A HREF="java/awt/Component.html#setName(java.lang.String)"><CODE>Component.setName(String)</CODE></A></DL></DD></DL><HR><H3>minSize</H3><PRE><A HREF="java/awt/Dimension.html">Dimension</A> <B>minSize</B></PRE><DL><DD>Internal, cached size information. (This field perhaps should have been transient).<DT><DD> </DL><HR><H3>prefSize</H3><PRE><A HREF="java/awt/Dimension.html">Dimension</A> <B>prefSize</B></PRE><DL><DD>Internal, cached size information (This field perhaps should have been transient).<DT><DD> </DL><HR><H3>newEventsOnly</H3><PRE>boolean <B>newEventsOnly</B></PRE><DL><DD>newEventsOnly will be true if the event is one of the event types enabled for the component. It will then allow for normal processing to continue. If it is false the event is passed to the components parent and up the ancestor tree until the event has been consumed.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><CODE>dispatchEvent()</CODE></DL></DD></DL><HR><H3>eventMask</H3><PRE>long <B>eventMask</B></PRE><DL><DD>The eventMask is ONLY set by subclasses via enableEvents. The mask should NOT be set when listeners are registered so that we can distinguish the difference between when listeners request events and subclasses request them. One bit is used to indicate whether input methods are enabled; this bit is set by enableInputMethods and is on by default.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><CODE>enableInputMethods()</CODE></DL></DD></DL><HR><H3>changeSupport</H3><PRE><A HREF="java/beans/PropertyChangeSupport.html">PropertyChangeSupport</A> <B>changeSupport</B></PRE><DL><DD>If any PropertyChangeListeners have been registered, the changeSupport field describes them.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><CODE>addPropertyChangeListener</CODE>, <CODE>removePropertyChangeListener</CODE>, <CODE>firePropertyChange</CODE><DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><H3>isPacked</H3><PRE>boolean <B>isPacked</B></PRE><DL></DL><HR><H3>componentSerializedDataVersion</H3><PRE>int <B>componentSerializedDataVersion</B></PRE><DL><DD>Component Serialized Data Version.<DT><DD> </DL><HR><H3>accessibleContext</H3><PRE><A HREF="javax/accessibility/AccessibleContext.html">AccessibleContext</A> <B>accessibleContext</B></PRE><DL></DL><P><A NAME="java.awt.Component.AccessibleAWTComponent"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="java/awt/Component.AccessibleAWTComponent.html">java.awt.Component.AccessibleAWTComponent</A> implements Serializable</B></FONT></TD></TR></TABLE><P><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>this$0</H3><PRE><A HREF="java/awt/Component.html">Component</A> <B>this$0</B></PRE><DL></DL><HR><H3>accessibleAWTComponentHandler</H3><PRE><A HREF="java/awt/event/ComponentListener.html">ComponentListener</A> <B>accessibleAWTComponentHandler</B></PRE><DL></DL><HR><H3>accessibleAWTFocusHandler</H3><PRE><A HREF="java/awt/event/FocusListener.html">FocusListener</A> <B>accessibleAWTFocusHandler</B></PRE><DL></DL><P><A NAME="java.awt.ComponentOrientation"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="java/awt/ComponentOrientation.html">java.awt.ComponentOrientation</A> implements Serializable</B></FONT></TD></TR></TABLE><P><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>orientation</H3><PRE>int <B>orientation</B></PRE><DL></DL><P><A NAME="java.awt.Container"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="java/awt/Container.html">java.awt.Container</A> implements Serializable</B></FONT></TD></TR></TABLE><P><A NAME="serialized_methods"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Methods</B></FONT></TD></TR></TABLE><P><A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3>readObject</H3><PRE>private void <B>readObject</B>(<A HREF="java/io/ObjectInputStream.html">ObjectInputStream</A> s) throws <A HREF="java/lang/ClassNotFoundException.html">ClassNotFoundException</A>, <A HREF="java/io/IOException.html">IOException</A></PRE><DL><DD><B>Description copied from class: <CODE><A HREF="java/awt/Component.html">Component</A></CODE></B></DD><DD>Read the ObjectInputStream and if it isnt null add a listener to receive item events fired by the components. Unrecognised keys or values will be Ignored.</DL><HR><A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3>writeObject</H3><PRE>private void <B>writeObject</B>(<A HREF="java/io/ObjectOutputStream.html">ObjectOutputStream</A> s) throws <A HREF="java/io/IOException.html">IOException</A></PRE><DL><DD>Writes default serializable fields to stream. Writes a list of serializable ItemListener(s) as optional data. The non-serializable ItemListner(s) are detected and no attempt is made to serialize them.<DD><DL><DT><B>Serial Data:</B><DD>Null terminated sequence of 0 or more pairs. The pair consists of a String and Object. The String indicates the type of object and is one of the following : itemListenerK indicating and ItemListener object.<DT><B>See Also: </B><DD><CODE>AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)</CODE>, <CODE>java.awt.Component.itemListenerK</CODE></DL></DD></DL><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>ncomponents</H3><PRE>int <B>ncomponents</B></PRE><DL><DD>The number of components in this container. This value can be null.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><CODE>getComponent()</CODE>, <A HREF="java/awt/Container.html#getComponents()"><CODE>Container.getComponents()</CODE></A>, <A HREF="java/awt/Container.html#getComponentCount()"><CODE>Container.getComponentCount()</CODE></A></DL></DD></DL><HR><H3>component</H3><PRE><A HREF="java/awt/Component.html">Component</A>[] <B>component</B></PRE><DL><DD>The components in this container.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><CODE>add()</CODE>, <A HREF="java/awt/Container.html#getComponents()"><CODE>Container.getComponents()</CODE></A></DL></DD></DL><HR><H3>layoutMgr</H3><PRE><A HREF="java/awt/LayoutManager.html">LayoutManager</A> <B>layoutMgr</B></PRE><DL><DD>Layout manager for this container.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><A HREF="java/awt/Container.html#doLayout()"><CODE>Container.doLayout()</CODE></A>, <CODE>setLayout()</CODE>, <A HREF="java/awt/Container.html#getLayout()"><CODE>Container.getLayout()</CODE></A></DL></DD></DL><HR><H3>dispatcher</H3><PRE><A HREF="java/awt/LightweightDispatcher.html">LightweightDispatcher</A> <B>dispatcher</B></PRE><DL><DD>Event router for lightweight components. If this container is native, this dispatcher takes care of forwarding and retargeting the events to lightweight components contained (if any).<DT><DD> </DL><HR><H3>maxSize</H3><PRE><A HREF="java/awt/Dimension.html">Dimension</A> <B>maxSize</B></PRE><DL></DL><HR><H3>containerSerializedDataVersion</H3><PRE>int <B>containerSerializedDataVersion</B></PRE><DL></DL><P><A NAME="java.awt.Container.AccessibleAWTContainer"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="java/awt/Container.AccessibleAWTContainer.html">java.awt.Container.AccessibleAWTContainer</A> implements Serializable</B></FONT></TD></TR></TABLE><P><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>this$0</H3><PRE><A HREF="java/awt/Container.html">Container</A> <B>this$0</B></PRE><DL></DL><HR><H3>accessibleContainerHandler</H3><PRE><A HREF="java/awt/event/ContainerListener.html">ContainerListener</A> <B>accessibleContainerHandler</B></PRE><DL></DL><P><A NAME="java.awt.Cursor"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="java/awt/Cursor.html">java.awt.Cursor</A> implements Serializable</B></FONT></TD></TR></TABLE><P><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>type</H3><PRE>int <B>type</B></PRE><DL><DD>The chosen cursor type initially set to the <code>DEFAULT_CURSOR</code>.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><A HREF="java/awt/Cursor.html#getType()"><CODE>Cursor.getType()</CODE></A></DL></DD></DL><HR><H3>name</H3><PRE><A HREF="java/lang/String.html">String</A> <B>name</B></PRE><DL><DD>The user-visible name of the cursor.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><A HREF="java/awt/Cursor.html#getName()"><CODE>Cursor.getName()</CODE></A></DL></DD></DL><P><A NAME="java.awt.Dialog"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="java/awt/Dialog.html">java.awt.Dialog</A> implements Serializable</B></FONT></TD></TR></TABLE><P><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>resizable</H3><PRE>boolean <B>resizable</B></PRE><DL><DD>A dialog's resizable property. Will be true if the Dialog is to be resizable, otherwise it will be false.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><CODE>setResizable()</CODE></DL></DD></DL><HR><H3>modal</H3><PRE>boolean <B>modal</B></PRE><DL><DD>Will be true if the Dialog is modal, otherwise the dialog will be modeless. A modal Dialog grabs all the input to the owner frame from the user.<DT><DD> <DD><DL><DT><B>See Also: </B><DD><A HREF="java/awt/Dialog.html#isModal()"><CODE>Dialog.isModal()</CODE></A>, <CODE>setModal()</CODE></DL></DD></DL><HR><H3>title</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -