📄 userproperty.html
字号:
<TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</A></B>(ActionEvent evt)</CODE><BR> Performs a certain task when an action occurs</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> String</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#generateCode(java.lang.String)">generateCode</A></B>(String indent)</CODE><BR> Generates a Java code regarding to grid users properties</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> String</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#getUserName()">getUserName</A></B>()</CODE><BR> Gets the grid user name</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#hasLoadXml()">hasLoadXml</A></B>()</CODE><BR> Checks whether XML file has been loaded or not</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#loadXml(org.w3c.dom.NodeList)">loadXml</A></B>(org.w3c.dom.NodeList nodeList)</CODE><BR> Loads a XML code regarding to grid users</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> String</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#saveFile(java.lang.String)">saveFile</A></B>(String spaces)</CODE><BR> Generates a XML code regarding to grid users properties</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#showDialog()">showDialog</A></B>()</CODE><BR> Shows a grid user dialog</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#windowActivated(java.awt.event.WindowEvent)">windowActivated</A></B>(WindowEvent evt)</CODE><BR> An event that occurs when the window dialog is activated</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#windowClosed(java.awt.event.WindowEvent)">windowClosed</A></B>(WindowEvent evt)</CODE><BR> An event that occurs when the window dialog is closed</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#windowClosing(java.awt.event.WindowEvent)">windowClosing</A></B>(WindowEvent evt)</CODE><BR> An event that occurs when the window dialog is closing</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#windowDeactivated(java.awt.event.WindowEvent)">windowDeactivated</A></B>(WindowEvent evt)</CODE><BR> An event that occurs when the window dialog is deactivated</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#windowDeiconified(java.awt.event.WindowEvent)">windowDeiconified</A></B>(WindowEvent evt)</CODE><BR> An event that occurs when the window dialog is deiconified</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#windowIconified(java.awt.event.WindowEvent)">windowIconified</A></B>(WindowEvent evt)</CODE><BR> An event that occurs when the window dialog is iconified</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../visualmodeler/UserProperty.html#windowOpened(java.awt.event.WindowEvent)">windowOpened</A></B>(WindowEvent evt)</CODE><BR> An event that occurs when the window dialog is opened</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.JDialog"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.JDialog</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Dialog"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class Dialog</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Window"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class Window</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Container"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class Container</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Component"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class Component</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="UserProperty(int, java.lang.String, boolean, java.util.Random)"><!-- --></A><H3>UserProperty</H3><PRE>public <B>UserProperty</B>(int id, String name, boolean random, Random r)</PRE><DL><DD>Allocates a new UserProperty object<P><DT><B>Parameters:</B><DD><CODE>id</CODE> - a grid user id<DD><CODE>name</CODE> - a grid user name<DD><CODE>random</CODE> - a flag to determine whether using random values to create a grid user's properties or not<DD><CODE>r</CODE> - a Random object<DT><B>Pre Condition:</B></DT> <DD>id >= 0, name != null, r != null</DD><DT><B>Post Condition:</B></DT> <DD>$none</DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getUserName()"><!-- --></A><H3>getUserName</H3><PRE>public String <B>getUserName</B>()</PRE><DL><DD>Gets the grid user name<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>user name<DT><B>Pre Condition:</B></DT> <DD>$none</DD><DT><B>Post Condition:</B></DT> <DD>$result != null</DD></DL></DD></DL><HR><A NAME="actionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>actionPerformed</H3><PRE>public void <B>actionPerformed</B>(ActionEvent evt)</PRE><DL><DD>Performs a certain task when an action occurs<P><DD><DL><DT><B>Specified by:</B><DD><CODE>actionPerformed</CODE> in interface <CODE>ActionListener</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>evt</CODE> - an ActionEvent object<DT><B>Pre Condition:</B></DT> <DD>evt != null</DD><DT><B>Post Condition:</B></DT> <DD>$none</DD></DL></DD></DL><HR><A NAME="showDialog()"><!-- --></A><H3>showDialog</H3><PRE>public void <B>showDialog</B>()</PRE><DL><DD>Shows a grid user dialog<P><DD><DL></DL></DD><DD><DL><DT><B>Pre Condition:</B></DT> <DD>$none</DD><DT><B>Post Condition:</B></DT> <DD>$none</DD></DL></DD></DL><HR><A NAME="generateCode(java.lang.String)"><!-- --></A><H3>generateCode</H3><PRE>public String <B>generateCode</B>(String indent)</PRE><DL><DD>Generates a Java code regarding to grid users properties<P><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -