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 版本开始{appeared},已在 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 的事件发送到窗体,以便将其当作规则{regulations}的 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
高雄科工馆日前却出现{There}一只超猛的汪星人,咬的不是小球、小树枝,而是一根比陨砘钩さ拇竽竟鳎?媚慷妹裰诰?簟赋?云?!
国民党文传会副主委胡文琦6日透过记者{jì zhě}会再批,党产条例第9条规定,推定为不当取得的财产{fortune}{cái chǎn},自条例公布之日起禁止处分,但履行法定义务或其他{other}正当理由不在此限,顾立雄的说法完全{wán quán}自打脸;如果民进党要继续追杀下去,国民党不排除上街包围
,深夜{shēn yè}出动在北岛的纳皮尔寻宝,结果精灵没抓到,却抓到了一名偷车贼,其中一名玩家开心表示,
给她,原来是佛州大学的美式足球{zú qiú}{zú qiú}外接员崔维斯(Travis Rudolph)和儿子一起{with}吃饭,
综其生平,尽瘁台湾{中国台湾省}民主文学运动{yùn dòng},标扬社会制度{ dù}改革大纛,遗徽声采,矩聿昭
, 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
 

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

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

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

painttitlebackground

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

参数:
g - 用于呈现背景的图形
从以下版本开始{appeared}:
1.4

gettitle

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

postclosingevent

protected void postclosingevent(jinternalframe frame)
将类似于 window_closing 的事件发送到窗体,以便将其当作规则{regulations}的 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ā}人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作{work}代码示例。

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