schemapropertycelleditor.html

来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 905 行 · 第 1/3 页

HTML
905
字号
<PRE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>noSelect</B></PRE><DL><DL></DL></DL><HR><A NAME="editorFocus"><!-- --></A><H3>editorFocus</H3><PRE><A HREF="http://java.sun.com/javase/6/docs/api/java/awt/event/FocusAdapter.html" title="class or interface in java.awt.event">FocusAdapter</A> <B>editorFocus</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="SchemaPropertyCellEditor(mondrian.gui.Workbench, mondrian.gui.JDBCMetaData)"><!-- --></A><H3>SchemaPropertyCellEditor</H3><PRE>public <B>SchemaPropertyCellEditor</B>(<A HREF="../../mondrian/gui/Workbench.html" title="class in mondrian.gui">Workbench</A>&nbsp;workbench,                                <A HREF="../../mondrian/gui/JDBCMetaData.html" title="class in mondrian.gui">JDBCMetaData</A>&nbsp;jdbcMetaData)</PRE><DL></DL><HR><A NAME="SchemaPropertyCellEditor(mondrian.gui.Workbench)"><!-- --></A><H3>SchemaPropertyCellEditor</H3><PRE>public <B>SchemaPropertyCellEditor</B>(<A HREF="../../mondrian/gui/Workbench.html" title="class in mondrian.gui">Workbench</A>&nbsp;workbench)</PRE><DL><DD>Creates a new instance of SchemaPropertyCellEditor<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="getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int)"><!-- --></A><H3>getTableCellEditorComponent</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A> <B>getTableCellEditorComponent</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/JTable.html" title="class or interface in javax.swing">JTable</A>&nbsp;table,                                             <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;value,                                             boolean&nbsp;isSelected,                                             int&nbsp;row,                                             int&nbsp;column)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/table/TableCellEditor.html#getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int)" title="class or interface in javax.swing.table">getTableCellEditorComponent</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/table/TableCellEditor.html" title="class or interface in javax.swing.table">TableCellEditor</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addCellEditorListener(javax.swing.event.CellEditorListener)"><!-- --></A><H3>addCellEditorListener</H3><PRE>public void <B>addCellEditorListener</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/event/CellEditorListener.html" title="class or interface in javax.swing.event">CellEditorListener</A>&nbsp;l)</PRE><DL><DD>Adds a listener to the list that's notified when the editor stops, or cancels editing.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html#addCellEditorListener(javax.swing.event.CellEditorListener)" title="class or interface in javax.swing">addCellEditorListener</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html" title="class or interface in javax.swing">CellEditor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - the CellEditorListener</DL></DD></DL><HR><A NAME="cancelCellEditing()"><!-- --></A><H3>cancelCellEditing</H3><PRE>public void <B>cancelCellEditing</B>()</PRE><DL><DD>Tells the editor to cancel editing and not accept any partially edited value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html#cancelCellEditing()" title="class or interface in javax.swing">cancelCellEditing</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html" title="class or interface in javax.swing">CellEditor</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getCellEditorValue()"><!-- --></A><H3>getCellEditorValue</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getCellEditorValue</B>()</PRE><DL><DD>Returns the value contained in the editor.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html#getCellEditorValue()" title="class or interface in javax.swing">getCellEditorValue</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html" title="class or interface in javax.swing">CellEditor</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value contained in the editor</DL></DD></DL><HR><A NAME="isCellEditable(java.util.EventObject)"><!-- --></A><H3>isCellEditable</H3><PRE>public boolean <B>isCellEditable</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A>&nbsp;anEvent)</PRE><DL><DD>Asks the editor if it can start editing using <code>anEvent</code>. <code>anEvent</code> is in the invoking component coordinate system. The editor can not assume the Component returned by <code>getCellEditorComponent</code> is installed.  This method is intended for the use of client to avoid the cost of setting up and installing the editor component if editing is not possible. If editing can be started this method returns true.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html#isCellEditable(java.util.EventObject)" title="class or interface in javax.swing">isCellEditable</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html" title="class or interface in javax.swing">CellEditor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>anEvent</CODE> - the event the editor should use to consider              whether to begin editing or not<DT><B>Returns:</B><DD>true if editing can be started<DT><B>See Also:</B><DD><A HREF="../../mondrian/gui/SchemaPropertyCellEditor.html#shouldSelectCell(java.util.EventObject)"><CODE>shouldSelectCell(java.util.EventObject)</CODE></A></DL></DD></DL><HR><A NAME="removeCellEditorListener(javax.swing.event.CellEditorListener)"><!-- --></A><H3>removeCellEditorListener</H3><PRE>public void <B>removeCellEditorListener</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/event/CellEditorListener.html" title="class or interface in javax.swing.event">CellEditorListener</A>&nbsp;l)</PRE><DL><DD>Removes a listener from the list that's notified<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html#removeCellEditorListener(javax.swing.event.CellEditorListener)" title="class or interface in javax.swing">removeCellEditorListener</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html" title="class or interface in javax.swing">CellEditor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - the CellEditorListener</DL></DD></DL><HR><A NAME="shouldSelectCell(java.util.EventObject)"><!-- --></A><H3>shouldSelectCell</H3><PRE>public boolean <B>shouldSelectCell</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A>&nbsp;anEvent)</PRE><DL><DD>Returns true if the editing cell should be selected, false otherwise. Typically, the return value is true, because is most cases the editing cell should be selected.  However, it is useful to return false to keep the selection from changing for some types of edits. eg. A table that contains a column of check boxes, the user might want to be able to change those checkboxes without altering the selection.  (See Netscape Communicator for just such an example) Of course, it is up to the client of the editor to use the return value, but it doesn't need to if it doesn't want to.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html#shouldSelectCell(java.util.EventObject)" title="class or interface in javax.swing">shouldSelectCell</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html" title="class or interface in javax.swing">CellEditor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>anEvent</CODE> - the event the editor should use to start              editing<DT><B>Returns:</B><DD>true if the editor would like the editing cell to be selected;    otherwise returns false<DT><B>See Also:</B><DD><A HREF="../../mondrian/gui/SchemaPropertyCellEditor.html#isCellEditable(java.util.EventObject)"><CODE>isCellEditable(java.util.EventObject)</CODE></A></DL></DD></DL><HR><A NAME="stopCellEditing()"><!-- --></A><H3>stopCellEditing</H3><PRE>public boolean <B>stopCellEditing</B>()</PRE><DL><DD>Tells the editor to stop editing and accept any partially edited value as the value of the editor.  The editor returns false if editing was not stopped; this is useful for editors that validate and can not accept invalid entries.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html#stopCellEditing()" title="class or interface in javax.swing">stopCellEditing</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/CellEditor.html" title="class or interface in javax.swing">CellEditor</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if editing was stopped; false otherwise</DL></DD></DL><HR><A NAME="fireEditingStopped()"><!-- --></A><H3>fireEditingStopped</H3><PRE>protected void <B>fireEditingStopped</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="fireEditingCancelled()"><!-- --></A><H3>fireEditingCancelled</H3><PRE>protected void <B>fireEditingCancelled</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></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="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-all.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><a href="http://sourceforge.net/projects/mondrian"><img src="http://sourceforge.net/sflogo.php?group_id=35302&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../mondrian/gui/SchemaExplorer.PopupTrigger.html" title="class in mondrian.gui"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../mondrian/gui/SchemaPropertyCellRenderer.html" title="class in mondrian.gui"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?mondrian/gui/SchemaPropertyCellEditor.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SchemaPropertyCellEditor.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></BODY></HTML>

⌨️ 快捷键说明

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