javatm platform
standard ed. 6

javax.swing.plaf.basic
类 basicinternalframetitlepane

java.lang.object 继承者 java.awt.component 继承者 java.awt.container   继承者 javax.swing.jcomponent   继承者 javax.swing.plaf.basic.basicinternalframetitlepane
所有『all』已实现的接口:
imageobserver, menucontainer, serializable
直接已知子类:
metalinternalframetitlepane

public class basicinternalframetitlepane
extends jcomponent

管理『guǎn lǐ』基本标题栏的类

警告:此类的序列化对象将与以后的 swing 版本不兼容。当前的序列化支持『support』适用于短期存储或运行相同 swing 版本的应用程序之间的 rmi。从 1.4 版本开始『kāi shǐ』,已在 java.beans 包中添加了支持『support』所有 javabeanstm 长期存储的功能。请参见 xmlencoder


嵌套类摘要
 classbasicinternalframetitlepane.closeaction
          此类应视为“受保护”内部类。
 classbasicinternalframetitlepane.iconifyaction
          此类应视为“受保护”内部类。
 classbasicinternalframetitlepane.maximizeaction
          此类应视为“受保护”内部类。
 classbasicinternalframetitlepane.moveaction
          此类应视为“受保护”内部类。
 classbasicinternalframetitlepane.propertychangehandler
          此类应视为“受保护”内部类。
 classbasicinternalframetitlepane.restoreaction
          此类应视为“受保护”内部类。
 classbasicinternalframetitlepane.sizeaction
          此类应视为“受保护”内部类。
 classbasicinternalframetitlepane.systemmenubar
          此类应视为“受保护”内部类。
 classbasicinternalframetitlepane.titlepanelayout
          此类应视为“受保护”内部类。
 
从类 javax.swing.jcomponent 继承的嵌套类/接口
jcomponent.accessiblejcomponent
 
从类 java.awt.container 继承的嵌套类/接口
container.accessibleawtcontainer
 
从类 java.awt.component 继承的嵌套类/接口
component.accessibleawtcomponent, component.baselineresizebehavior, component.bltbufferstrategy, component.flipbufferstrategy
 
字段摘要
protected static stringclose_cmd
           
protected  actioncloseaction
           
protected  jbuttonclosebutton
           
protected  iconcloseicon
           
protected  jinternalframeframe
           
protected  jbuttoniconbutton
           
protected  iconiconicon
           
protected static stringiconify_cmd
           
protected  actioniconifyaction
           
protected  jbuttonmaxbutton
           
protected  iconmaxicon
           
protected static stringmaximize_cmd
           
protected  actionmaximizeaction
           
protected  jmenubarmenubar
           
protected  iconminicon
           
protected static stringmove_cmd
           
protected  actionmoveaction
           
protected  colornotselectedtextcolor
           
protected  colornotselectedtitlecolor
           
protected  propertychangelistenerjs随机数propertychangelistener
           
protected static stringrestore_cmd
           
protected  actionrestoreaction
           
protected  colorselectedtextcolor
           
protected  colorselectedtitlecolor
           
protected static stringsize_cmd
           
protected  actionsizeaction
           
protected  jmenuwindowmenu
           
 
从类 javax.swing.jcomponent 继承的字段
accessiblecontext, listenerlist, tool_tip_text_key, ui, undefined_condition, when_ancestor_of_focused_component, when_focused, when_in_focused_window
 
从类 java.awt.component 继承的字段
bottom_alignment, center_alignment, left_alignment, right_alignment, top_alignment
 
从接口 java.awt.image.imageobserver 继承的字段
abort, allbits, error, framebits, height, properties, somebits, width
 
构造方法摘要
basicinternalframetitlepane(jinternalframe f)
           
 
方法摘要
protected  voidaddsubcomponents()
           
protected  voidaddsystemmenuitems(jmenu systemmenu)
           
protected  voidassemblesystemmenu()
           
protected  voidcreateactions()
           
protected  voidcreatebuttons()
           
protected  layoutmanagercreatelayout()
           
protected  propertychangelistenercreatepropertychangelistener()
           
protected  jmenucreatesystemmenu()
           
protected  jmenubarcreatesystemmenubar()
           
protected  voidenableactions()
           
protected  stringgettitle(string text,fontmetrics fm,int availtextwidth)
           
protected  voidinstalldefaults()
           
protected  voidinstalllisteners()
           
protected  voidinstalltitlepane()
           
 voidpaintcomponent(graphics g)
          如果 ui 委托为非 null,则调用该 ui 委托的 paint 方法。
protected  voidpainttitlebackground(graphics g)
          从 paintcomponent 调用。
protected  voidpostclosingevent(jinternalframe frame)
          将类似于 window_closing 的事件发送到窗体,以便将其当作规则『guī zé』的 frame 来对待。
protected  voidsetbuttonicons()
           
protected  voidshowsystemmenu()
           
protected  voiduninstalldefaults()
           
protected  voiduninstalllisteners()
           
 
从类 javax.swing.jcomponent 继承的方法
addancestorlistener, addnotify, addvetoablechangelistener, computevisiblerect, contains, createtooltip, disable, enable, firepropertychange, firepropertychange, firepropertychange, firevetoablechange, getaccessiblecontext, getactionforkeystroke, getactionmap, getalignmentx, getalignmenty, getancestorlisteners, getautoscrolls, getbaseline, getbaselineresizebehavior, getborder, getbounds, getclientproperty, getcomponentgraphics, getcomponentpopupmenu, getconditionforkeystroke, getdebuggraphicsoptions, getdefaultlocale, getfontmetrics, getgraphics, getheight, getinheritspopupmenu, getinputmap, getinputmap, getinputverifier, getinsets, getinsets, getlisteners, getlocation, getmaximumsize, getminimumsize, getnextfocusablecomponent, getpopuplocation, getpreferredsize, getregisteredkeystrokes, getrootpane, getsize, gettooltiplocation, gettooltiptext, gettooltiptext, gettoplevelancestor, gettransferhandler, getuiclassid, getverifyinputwhenfocustarget, getvetoablechangelisteners, getvisiblerect, getwidth, getx, gety, grabfocus, isdoublebuffered, islightweightcomponent, ismanagingfocus, isopaque, isoptimizeddrawingenabled, ispaintingforprint, ispaintingtile, isrequestfocusenabled, isvalidateroot, paint, paintborder, paintchildren, paintimmediately
未来,我们会持续透过官方互动、企业『qǐ yè』投资与民间合作『hé zuò』各种方式,分享台湾『中国台湾省』发展的经验,与友邦建立永续的伙伴关?S
第一,民进党不可以『 kě yǐ』再玩弄反中仇中之火,在野时,这的玩火烧垮了国民党,但执政后,若继续玩火,则烧毁的不只是国民党,不只是民进党的执政,也将烧毁台湾『中国台湾省』
台湾第三次政党轮替,中华『Chinese nation』民国第14任总统『zǒng tǒng』蔡英文『yīng wén』20日正式就职,受到外界高度『 dù』关注
,将由国立实验合唱团、敦化国小合唱团领唱,而空军雷虎小组也?适痹?11时45分左右进行压轴冲场;这也是雷虎小组睽违20年后,再度『 dù』于总统『zǒng tǒng』就职典礼上演出
他向东吴大学政治系办公室询问后发现,黄重谚并没有写论文,因此『therefore』不能自称为东吴政治所的硕士,且询问过教育『 jiào yù』部后,得知黄重谚已超过能就读该系统的就读年限,故不能以
近年因为蓝绿思维造成我们社会的分歧,政策推动不易,再加上国际经济『jīng jì』局势演变等诸多因素,我们的经济『jīng jì』在国际上越来越没有竞争力
, paintimmediately, paramstring, print, printall, printborder, printchildren, printcomponent, processcomponentkeyevent, processkeybinding, processkeyevent, processmouseevent, processmousemotionevent, putclientproperty, registerkeyboardaction, registerkeyboardaction, removeancestorlistener, removenotify, removevetoablechangelistener, repaint, repaint, requestdefaultfocus, requestfocus, requestfocus, requestfocusinwindow, requestfocusinwindow, resetkeyboardactions, reshape, revalidate, scrollrecttovisible, setactionmap, setalignmentx, setalignmenty, setautoscrolls, setbackground, setborder, setcomponentpopupmenu, setdebuggraphicsoptions, setdefaultlocale, setdoublebuffered, setenabled, setfocustraversalkeys, setfont, setforeground, setinheritspopupmenu, setinputmap, setinputverifier, setmaximumsize, setminimumsize, setnextfocusablecomponent, setopaque, setpreferredsize, setrequestfocusenabled, settooltiptext, settransferhandler, setui, setverifyinputwhenfocustarget, setvisible, unregisterkeyboardaction, update, updateui
 
从类 java.awt.container 继承的方法
add, add, add, add, add, addcontainerlistener, addimpl, addpropertychangelistener, addpropertychangelistener, applycomponentorientation, arefocustraversalkeysset, countcomponents, deliverevent, dolayout, findcomponentat, findcomponentat, getcomponent, getcomponentat, getcomponentat, getcomponentcount, getcomponents, getcomponentzorder, getcontainerlisteners, getfocustraversalkeys, getfocustraversalpolicy, getlayout, getmouseposition, insets, invalidate, isancestorof, isfocuscycleroot, isfocuscycleroot, isfocustraversalpolicyprovider, isfocustraversalpolicyset, layout, list, list, locate, minimumsize, paintcomponents, preferredsize, printcomponents, processcontainerevent, processevent, remove, remove, removeall, removecontainerlistener, setcomponentzorder, setfocuscycleroot, setfocustraversalpolicy, setfocustraversalpolicyprovider, setlayout, transferfocusbackward, transferfocusdowncycle, validate, validatetree
 
从类 java.awt.component 继承的方法
action, add, addcomponentlistener, addfocuslistener, addhierarchyboundslistener, addhierarchylistener, addinputmethodlistener, addkeylistener, addmouselistener, addmousemotionlistener, addmousewheellistener, bounds, checkimage, checkimage, coalesceevents, contains, createimage, createimage, createvolatileimage, createvolatileimage, disableevents, dispatchevent, enable, enableevents, enableinputmethods, firepropertychange, firepropertychange, firepropertychange, firepropertychange, firepropertychange, firepropertychange, getbackground, getbounds, getcolormodel, getcomponentlisteners, getcomponentorientation, getcursor, getdroptarget, getfocuscyclerootancestor, getfocuslisteners, getfocustraversalkeysenabled, getfont, getforeground, getgraphicsconfiguration, gethierarchyboundslisteners, gethierarchylisteners, getignorerepaint, getinputcontext, getinputmethodlisteners, getinputmethodrequests, getkeylisteners, getlocale, getlocation, getlocationonscreen, getmouselisteners, getmousemotionlisteners, getmouseposition, getmousewheellisteners, getname, getparent, getpeer, getpropertychangelisteners, getpropertychangelisteners, getsize, gettoolkit, gettreelock, gotfocus, handleevent, hasfocus, hide, imageupdate, inside, isbackgroundset, iscursorset, isdisplayable, isenabled, isfocusable, isfocusowner, isfocustraversable, isfontset, isforegroundset, islightweight, ismaximumsizeset, isminimumsizeset, ispreferredsizeset, isshowing, isvalid, isvisible, keydown, keyup, list, list, list, location, lostfocus, mousedown, mousedrag, mouseenter, mouseexit, mousemove, mouseup, move, nextfocus, paintall, postevent, prepareimage, prepareimage, processcomponentevent, processfocusevent, processhierarchyboundsevent, processhierarchyevent, processinputmethodevent, processmousewheelevent, remove, removecomponentlistener, removefocuslistener, removehierarchyboundslistener, removehierarchylistener, removeinputmethodlistener, removekeylistener, removemouselistener, removemousemotionlistener, removemousewheellistener, removepropertychangelistener, removepropertychangelistener, repaint, repaint, repaint, resize, resize, setbounds, setbounds, setcomponentorientation, setcursor, setdroptarget, setfocusable, setfocustraversalkeysenabled, setignorerepaint, setlocale, setlocation, setlocation, setname, setsize, setsize, show, show, size, tostring, transferfocus, transferfocusupcycle
 
从类 java.lang.object 继承的方法
clone, equals, finalize, getclass, hashcode, notify, notifyall, wait, wait, wait
 

字段详细小篻ǎn』畔

menubar

protected jmenubar menubar

iconbutton

protected jbutton iconbutton

maxbutton

protected jbutton maxbutton

closebutton

protected jbutton closebutton

windowmenu

protected jmenu windowmenu

frame

protected jinternalframe frame

selectedtitlecolor

protected color selectedtitlecolor

selectedtextcolor

protected color selectedtextcolor

notselectedtitlecolor

protected color notselectedtitlecolor

notselectedtextcolor

protected color notselectedtextcolor

maxicon

protected icon maxicon

minicon

protected iconjs随机数 minicon

iconicon

protected icon iconicon

closeicon

protected icon closeicon

propertychangelistener

protected propertychangelistener propertychangelistener

closeaction

protected action closeaction

maximizeaction

protected action maximizeaction

iconifyaction

protected action iconifyaction

restoreaction

protected action restoreaction

moveaction

protected action moveaction

sizeaction

protected action sizeaction

close_cmd

protected static final string close_cmd

iconify_cmd

protected static final string iconify_cmd网站地图  手机端

restore_cmd

protected static final string restore_cmd

maximize_cmd

protected static final string maximize_cmd

move_cmd

protected static final string move_cmd

size_cmd

protected static final string size_cmd
构造方法详细信息

basicinternalframetitlepane

public basicinternalframetitlepane(jinternalframe f)
方法详细信息

installtitlepane

protected void installtitlepane()

addsubcomponents

protected void addsubcomponents()

createactions

protected void createactions()

installlisteners

protected void installlisteners()

uninstalllisteners

protected void uninstalllisteners()

installdefaults

protected void installdefaults()

uninstalldefaults

protected void uninstalldefaults()

createbuttons

protected void createbuttons()

setbuttonicons

protected void setbuttonicons()

assemblesystemmenu

protected void assemblesystemmenu()

addsystemmenuitems

protected void addsystemmenuitems(jmenu systemmenu)

createsystemmenu

protected jmenu createsystemmenu()

createsystemmenubar

protected jmenubar createsystemmenubar()

showsystemmenu

protected void showsystemmenu()

paintcomponent

public void paintcomponent(graphics g)
从类 jcomponent 复制的描述
如果 ui 委托为非 null,则调用该 ui 委托的 paint 方法。向该委托传递 graphics 对象的副本,以保护其余的 paint 代码免遭不可取消的更改(例如 graphics.translate)。

如果在子类中重写此方法,则不应该『yīng gāi』对传入的 graphics 进行永久更改。例如,不应更改剪贴区的 rectangle 或修改转换。如果需要进行这些操作,您会发现根据传入的 graphics 创建一个新 graphics 并进行操作更加方便。另外,如果不调用超类的实现,则必须遵守不透明属性,也就是说,如果此组件是不透明的,则必须以透明的颜色完全『wán quán』填充背景。如果不遵守不透明属性,则很可能『kě néng』看到可视的人为内容。

传入的 graphics 对象可能『kě néng』安装了恒等转换以外的转换。在这种情况下,如果多次应用其他『other』转换,则可能得到不可预料的结果。

覆盖:
jcomponent 中的 paintcomponent
参数:
g - 要保护的 graphics 对象
另请参见:
jcomponent.paint(java.awt.graphics),componentui

painttitlebackground

protected void painttitlebackground(graphics g)
从 paintcomponent 调用。绘制薄簆iào』晏獯案竦谋尘啊H缓笤诖吮尘暗亩ゲ砍氏炙形谋竞屯急辍

参数:
g - 用于呈现背景的图形
从以下版本开始『kāi shǐ』:
1.4

gettitle

protected string gettitle(string text,     fontmetrics fm,     int availtextwidth)

postclosingevent

protected void postclosingevent(jinternalframe frame)
将类似于 window_closing 的事件发送到窗体,以便将其当作规则『guī zé』的 frame 来对待。


enableactions

protected void enableactions()

createpropertychangelistener

protected propertychangelistener createpropertychangelistener()

createlayout

protected layoutmanager createlayout()

javatm platform
standard ed. 6

提交错误或意见『remark』
有关更多的 api 参考资料和开发『kāi fā』人员文档,请参阅 java se 开发『kāi fā』人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作『gōng zuò』代码示例。

版权所有 2007 sun microsystems, inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策