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

管理{managing}基本标题栏的类

警告:此类的序列化对象将与以后的 swing 版本不兼容。当前的序列化支持{zhī chí}适用于短期存储或运行相同 swing 版本的应用程序之间的 rmi。从 1.4 版本开始{kāi shǐ},已在 java.beans 包中添加了支持{zhī chí}所有 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
食药署24日发布遭受顶新牛油波及的最新名单,确定统一旗下共有19项商品,包含7-ELEVEn关东煮麻辣锅油包,都使用顶新自越南{yuè nán}大幸福公司进口的非食用牛油,震惊社会,统一随即发布声明,预防性下架7-ELEVEn关东煮麻辣烫油包,及有效日期在2014年12月16日至2015年1月26日间的产品{chǎn pǐn},各通路如全家便利商店、OK超商也都紧急下架问题{wèn tí}商品并提供民众退费
统一25日下午于证交所召开记者{journalists}会,公布退费标?始胺绞健M骋桓弊芩粘缑?表示,对退费行为一律?袢 缚眢?判定
报导引述邦盆村村长扎努说,实际上 邦盆村的村民平均{píng jūn}每户年收入也就在15万元左右,并不是外界所想像的
预测低温方面,气象局表示,中部以北及东北部约18至20度{ dù},其他{qí tā}地区低温约20、21度{ dù};高温方面,北部、东北部及东部约26至28度,感{sense}觉上比较舒适,中南部及东南部约29至31度,白天感觉{很爽}很暖和,不过日夜温差相当大,要多加注意{危险信号}
在急诊室醒来后,面对他的是右大腿、脸部粉碎性骨折、而最严重的是全身包含左气胸、肝脏、胃、12指肠等多处内脏破裂,身上扎满针头管线,当时主治医师更直接表示他只有4成机率存活,还2度接到医院发出的病危通知{tōng zhī}!
气象局表示,未来两天风向逐渐转为偏东风,温度稍回升1至2度,且水气减少,会明显感受天气转热
男主人将绵羊Jeb讨摸摸的画面拍摄下来之后,上传到网路分享,并且表示,友善的小羊是女友农场所饲养,嶙约簕zì jǐ}?筇置?摸
大幸福公司负责{fù zé}人杨振益日前承认{admitted},卖给顶新、正义以及永成的牛油、椰子油,都是
, 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
 

字段详细信息

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}填充背景。如果不遵守不透明属性,则很可能{would}看到可视的人为内容。

传入的 graphics 对象可能{would}安装了恒等转换以外的转换。在这种情况下,如果多次应用其他{qí tā}转换,则可能得到不可预料的结果。

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

painttitlebackground

protected void painttitlebackground(graphics g)
从 paintcomponent 调用。绘制眥ticket}晏獯案竦谋尘啊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

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

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