lookandfeel.html.svn-base

来自「j2me设计的界面包」· SVN-BASE 代码 · 共 1,363 行 · 第 1/5 页

SVN-BASE
1,363
字号
drawTabbedPaneContentPane</H3>
<PRE>
public abstract void <B>drawTabbedPaneContentPane</B>(<A HREF="../../../../com/sun/lwuit/TabbedPane.html" title="class in com.sun.lwuit">TabbedPane</A>&nbsp;tp,
                                               <A HREF="../../../../com/sun/lwuit/Graphics.html" title="class in com.sun.lwuit">Graphics</A>&nbsp;g,
                                               <A HREF="../../../../com/sun/lwuit/geom/Rectangle.html" title="class in com.sun.lwuit.geom">Rectangle</A>&nbsp;rect,
                                               <A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A>&nbsp;cellsPreferredSize,
                                               int&nbsp;numOfTabs,
                                               int&nbsp;selectedTabIndex,
                                               <A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A>&nbsp;tabsSize,
                                               int&nbsp;cellOffsetX,
                                               int&nbsp;cellOffsetY)</PRE>
<DL>
<DD>Draws and return the TabbedPane contentpane painter
<P>
<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="getDefaultFormTransitionIn()"><!-- --></A><H3>
getDefaultFormTransitionIn</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A> <B>getDefaultFormTransitionIn</B>()</PRE>
<DL>
<DD>Allows us to define a default animation that will draw the transition for entering a form
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultFormTransitionIn(com.sun.lwuit.animations.Transition)"><!-- --></A><H3>
setDefaultFormTransitionIn</H3>
<PRE>
public void <B>setDefaultFormTransitionIn</B>(<A HREF="../../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A>&nbsp;defaultFormTransitionIn)</PRE>
<DL>
<DD>Allows us to define a default animation that will draw the transition for entering a form
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultFormTransitionOut()"><!-- --></A><H3>
getDefaultFormTransitionOut</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A> <B>getDefaultFormTransitionOut</B>()</PRE>
<DL>
<DD>Allows us to define a default animation that will draw the transition for exiting a form
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultFormTransitionOut(com.sun.lwuit.animations.Transition)"><!-- --></A><H3>
setDefaultFormTransitionOut</H3>
<PRE>
public void <B>setDefaultFormTransitionOut</B>(<A HREF="../../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A>&nbsp;defaultFormTransitionOut)</PRE>
<DL>
<DD>Allows us to define a default animation that will draw the transition for exiting a form
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultDialogTransitionIn()"><!-- --></A><H3>
getDefaultDialogTransitionIn</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A> <B>getDefaultDialogTransitionIn</B>()</PRE>
<DL>
<DD>Allows us to define a default animation that will draw the transition for entering a dialog
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultDialogTransitionIn(com.sun.lwuit.animations.Transition)"><!-- --></A><H3>
setDefaultDialogTransitionIn</H3>
<PRE>
public void <B>setDefaultDialogTransitionIn</B>(<A HREF="../../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A>&nbsp;defaultDialogTransitionIn)</PRE>
<DL>
<DD>Allows us to define a default animation that will draw the transition for entering a dialog
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultDialogTransitionOut()"><!-- --></A><H3>
getDefaultDialogTransitionOut</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A> <B>getDefaultDialogTransitionOut</B>()</PRE>
<DL>
<DD>Allows us to define a default animation that will draw the transition for exiting a dialog
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultDialogTransitionOut(com.sun.lwuit.animations.Transition)"><!-- --></A><H3>
setDefaultDialogTransitionOut</H3>
<PRE>
public void <B>setDefaultDialogTransitionOut</B>(<A HREF="../../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A>&nbsp;defaultDialogTransitionOut)</PRE>
<DL>
<DD>Allows us to define a default animation that will draw the transition for exiting a dialog
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultFormTintColor()"><!-- --></A><H3>
getDefaultFormTintColor</H3>
<PRE>
public int <B>getDefaultFormTintColor</B>()</PRE>
<DL>
<DD>Tint color is set when a form is partially covered be it by a menu or by a  dialog. A look and feel can override this default value.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultFormTintColor(int)"><!-- --></A><H3>
setDefaultFormTintColor</H3>
<PRE>
public void <B>setDefaultFormTintColor</B>(int&nbsp;defaultFormTintColor)</PRE>
<DL>
<DD>Tint color is set when a form is partially covered be it by a menu or by a  dialog. A look and feel can override this default value.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDisableColor()"><!-- --></A><H3>
getDisableColor</H3>
<PRE>
public int <B>getDisableColor</B>()</PRE>
<DL>
<DD>This color is used to paint disable mode text color.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the color value</DL>
</DD>
</DL>
<HR>

<A NAME="setDisableColor(int)"><!-- --></A><H3>
setDisableColor</H3>
<PRE>
public void <B>setDisableColor</B>(int&nbsp;disableColor)</PRE>
<DL>
<DD>Simple setter to diable color
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>disableColor</CODE> - the diable color value</DL>
</DD>
</DL>
<HR>

<A NAME="isDefaultSmoothScrolling()"><!-- --></A><H3>
isDefaultSmoothScrolling</H3>
<PRE>
public boolean <B>isDefaultSmoothScrolling</B>()</PRE>
<DL>
<DD>Indicates whether lists and containers should have smooth scrolling by default
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultSmoothScrolling(boolean)"><!-- --></A><H3>
setDefaultSmoothScrolling</H3>
<PRE>
public void <B>setDefaultSmoothScrolling</B>(boolean&nbsp;defaultSmoothScrolling)</PRE>
<DL>
<DD>Indicates whether lists and containers should have smooth scrolling by default
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultSmoothScrollingSpeed()"><!-- --></A><H3>
getDefaultSmoothScrollingSpeed</H3>
<PRE>
public int <B>getDefaultSmoothScrollingSpeed</B>()</PRE>
<DL>
<DD>Indicates the default speed for smooth scrolling
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultSmoothScrollingSpeed(int)"><!-- --></A><H3>
setDefaultSmoothScrollingSpeed</H3>
<PRE>
public void <B>setDefaultSmoothScrollingSpeed</B>(int&nbsp;defaultSmoothScrollingSpeed)</PRE>
<DL>
<DD>Indicates the default speed for smooth scrolling
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isReverseSoftButtons()"><!-- --></A><H3>
isReverseSoftButtons</H3>
<PRE>
public boolean <B>isReverseSoftButtons</B>()</PRE>
<DL>
<DD>Indicates whether softbuttons should be reversed from their default orientation
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setReverseSoftButtons(boolean)"><!-- --></A><H3>
setReverseSoftButtons</H3>
<PRE>
public void <B>setReverseSoftButtons</B>(boolean&nbsp;reverseSoftButtons)</PRE>
<DL>
<DD>Indicates whether softbuttons should be reversed from their default orientation
<P>
<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%" C

⌨️ 快捷键说明

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