defaultlookandfeel.html.svn-base
来自「j2me设计的界面包」· SVN-BASE 代码 · 共 884 行 · 第 1/4 页
SVN-BASE
884 行
<A HREF="../../../../com/sun/lwuit/Calendar.html" title="class in com.sun.lwuit">Calendar</A> cal,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> mv)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#findDayAt(int, int, com.sun.lwuit.Calendar, com.sun.lwuit.Component)">LookAndFeel</A></CODE></B></DD>
<DD>Returns the day of the month in the month view at the given relative component X/Y offsets. This is important for touch screen interaction
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#findDayAt(int, int, com.sun.lwuit.Calendar, com.sun.lwuit.Component)">findDayAt</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf">LookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getComboBoxPreferredSize(com.sun.lwuit.ComboBox)"><!-- --></A><H3>
getComboBoxPreferredSize</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A> <B>getComboBoxPreferredSize</B>(<A HREF="../../../../com/sun/lwuit/ComboBox.html" title="class in com.sun.lwuit">ComboBox</A> cb)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#getComboBoxPreferredSize(com.sun.lwuit.ComboBox)">getComboBoxPreferredSize</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf">LookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the preferred size for the combo box</DL>
</DD>
</DL>
<HR>
<A NAME="drawTabbedPane(com.sun.lwuit.Graphics, com.sun.lwuit.TabbedPane)"><!-- --></A><H3>
drawTabbedPane</H3>
<PRE>
public void <B>drawTabbedPane</B>(<A HREF="../../../../com/sun/lwuit/Graphics.html" title="class in com.sun.lwuit">Graphics</A> g,
<A HREF="../../../../com/sun/lwuit/TabbedPane.html" title="class in com.sun.lwuit">TabbedPane</A> tp)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#drawTabbedPane(com.sun.lwuit.Graphics, com.sun.lwuit.TabbedPane)">LookAndFeel</A></CODE></B></DD>
<DD>Invoked for drawing the Tab Pane widget
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#drawTabbedPane(com.sun.lwuit.Graphics, com.sun.lwuit.TabbedPane)">drawTabbedPane</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf">LookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTabbedPaneCell(com.sun.lwuit.TabbedPane, java.lang.String, com.sun.lwuit.Image, boolean, boolean, com.sun.lwuit.plaf.Style, com.sun.lwuit.plaf.Style, int, int, com.sun.lwuit.geom.Dimension, com.sun.lwuit.geom.Dimension)"><!-- --></A><H3>
getTabbedPaneCell</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> <B>getTabbedPaneCell</B>(<A HREF="../../../../com/sun/lwuit/TabbedPane.html" title="class in com.sun.lwuit">TabbedPane</A> tp,
java.lang.String text,
<A HREF="../../../../com/sun/lwuit/Image.html" title="class in com.sun.lwuit">Image</A> icon,
boolean isSelected,
boolean cellHasFocus,
<A HREF="../../../../com/sun/lwuit/plaf/Style.html" title="class in com.sun.lwuit.plaf">Style</A> cellStyle,
<A HREF="../../../../com/sun/lwuit/plaf/Style.html" title="class in com.sun.lwuit.plaf">Style</A> tabbedPaneStyle,
int cellOffsetX,
int cellOffsetY,
<A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A> cellsPreferredSize,
<A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A> contentPaneSize)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#getTabbedPaneCell(com.sun.lwuit.TabbedPane, java.lang.String, com.sun.lwuit.Image, boolean, boolean, com.sun.lwuit.plaf.Style, com.sun.lwuit.plaf.Style, int, int, com.sun.lwuit.geom.Dimension, com.sun.lwuit.geom.Dimension)">LookAndFeel</A></CODE></B></DD>
<DD>Draws and return the TabbedPane cell component (renderer) according to each tab orientation, the borders are getting draws
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#getTabbedPaneCell(com.sun.lwuit.TabbedPane, java.lang.String, com.sun.lwuit.Image, boolean, boolean, com.sun.lwuit.plaf.Style, com.sun.lwuit.plaf.Style, int, int, com.sun.lwuit.geom.Dimension, com.sun.lwuit.geom.Dimension)">getTabbedPaneCell</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf">LookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tp</CODE> - the TabbedPane<DD><CODE>text</CODE> - the cell text<DD><CODE>icon</CODE> - the cell icon image<DD><CODE>isSelected</CODE> - is the cell is the selected one<DD><CODE>cellHasFocus</CODE> - is the cell has focus<DD><CODE>cellStyle</CODE> - the cell Style object<DD><CODE>tabbedPaneStyle</CODE> - the TabbedPane Style object<DD><CODE>cellOffsetX</CODE> - the offset when the cell is on TOP or BOTTOM orientation<DD><CODE>cellOffsetY</CODE> - the offset when the cell is on LEFT or RIGHT orientation<DD><CODE>cellsPreferredSize</CODE> - the total cells PreferredSize<DD><CODE>contentPaneSize</CODE> - the contentPaneSize
<DT><B>Returns:</B><DD>A TabbedPane cell component</DL>
</DD>
</DL>
<HR>
<A NAME="drawTabbedPaneContentPane(com.sun.lwuit.TabbedPane, com.sun.lwuit.Graphics, com.sun.lwuit.geom.Rectangle, com.sun.lwuit.geom.Dimension, int, int, com.sun.lwuit.geom.Dimension, int, int)"><!-- --></A><H3>
drawTabbedPaneContentPane</H3>
<PRE>
public void <B>drawTabbedPaneContentPane</B>(<A HREF="../../../../com/sun/lwuit/TabbedPane.html" title="class in com.sun.lwuit">TabbedPane</A> tp,
<A HREF="../../../../com/sun/lwuit/Graphics.html" title="class in com.sun.lwuit">Graphics</A> g,
<A HREF="../../../../com/sun/lwuit/geom/Rectangle.html" title="class in com.sun.lwuit.geom">Rectangle</A> rect,
<A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A> cellsPreferredSize,
int numOfTabs,
int selectedTabIndex,
<A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A> tabsSize,
int cellOffsetX,
int cellOffsetY)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#drawTabbedPaneContentPane(com.sun.lwuit.TabbedPane, com.sun.lwuit.Graphics, com.sun.lwuit.geom.Rectangle, com.sun.lwuit.geom.Dimension, int, int, com.sun.lwuit.geom.Dimension, int, int)">LookAndFeel</A></CODE></B></DD>
<DD>Draws and return the TabbedPane contentpane painter
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#drawTabbedPaneContentPane(com.sun.lwuit.TabbedPane, com.sun.lwuit.Graphics, com.sun.lwuit.geom.Rectangle, com.sun.lwuit.geom.Dimension, int, int, com.sun.lwuit.geom.Dimension, int, int)">drawTabbedPaneContentPane</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf">LookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tp</CODE> - the TabbedPane<DD><CODE>g</CODE> - the content pane graphics<DD><CODE>rect</CODE> - the content pane painting rectangle area<DD><CODE>cellsPreferredSize</CODE> - the total cells PreferredSize<DD><CODE>numOfTabs</CODE> - number of tabs<DD><CODE>selectedTabIndex</CODE> - the selected tab index<DD><CODE>tabsSize</CODE> - the tabs size<DD><CODE>cellOffsetX</CODE> - the offset when the cell is on TOP or BOTTOM orientation<DD><CODE>cellOffsetY</CODE> - the offset when the cell is on LEFT or RIGHT orientation</DL>
</DD>
</DL>
<HR>
<A NAME="drawTextField(com.sun.lwuit.Graphics, com.sun.lwuit.TextField)"><!-- --></A><H3>
drawTextField</H3>
<PRE>
public void <B>drawTextField</B>(<A HREF="../../../../com/sun/lwuit/Graphics.html" title="class in com.sun.lwuit">Graphics</A> g,
<A HREF="../../../../com/sun/lwuit/TextField.html" title="class in com.sun.lwuit">TextField</A> ta)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#drawTextField(com.sun.lwuit.Graphics, com.sun.lwuit.TextField)">LookAndFeel</A></CODE></B></DD>
<DD>Draws the text field without its cursor which is drawn in a separate method input mode indication can also be drawn using this method.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#drawTextField(com.sun.lwuit.Graphics, com.sun.lwuit.TextField)">drawTextField</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf">LookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTextFieldPreferredSize(com.sun.lwuit.TextField)"><!-- --></A><H3>
getTextFieldPreferredSize</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A> <B>getTextFieldPreferredSize</B>(<A HREF="../../../../com/sun/lwuit/TextField.html" title="class in com.sun.lwuit">TextField</A> ta)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#getTextFieldPreferredSize(com.sun.lwuit.TextField)">LookAndFeel</A></CODE></B></DD>
<DD>Returns the preferred size of the text field
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#getTextFieldPreferredSize(com.sun.lwuit.TextField)">getTextFieldPreferredSize</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf">LookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the preferred size for the text field</DL>
</DD>
</DL>
<HR>
<A NAME="drawTextFieldCursor(com.sun.lwuit.Graphics, com.sun.lwuit.TextField)"><!-- --></A><H3>
drawTextFieldCursor</H3>
<PRE>
public void <B>drawTextFieldCursor</B>(<A HREF="../../../../com/sun/lwuit/Graphics.html" title="class in com.sun.lwuit">Graphics</A> g,
<A HREF="../../../../com/sun/lwuit/TextField.html" title="class in com.sun.lwuit">TextField</A> ta)</PRE>
<DL>
<DD>Draws the cursor of the text field, blinking is handled simply by avoiding a call to this method.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html#drawTextFieldCursor(com.sun.lwuit.Graphics, com.sun.lwuit.TextField)">drawTextFieldCursor</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf">LookAndFeel</A></CODE></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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultLookAndFeel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../com/sun/lwuit/plaf/LookAndFeel.html" title="class in com.sun.lwuit.plaf"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/sun/lwuit/plaf/DefaultLookAndFeel.html" target="_top"><B>FRAMES</B></A>
<A HREF="DefaultLookAndFeel.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?