zoukankan      html  css  js  c++  java
  • 英语意思是很重要的。

    有时候你怎么也理解不了,panel是什么来着。为什么根java的GUI有关,是干什么的。你经常使用后就知道了。但是你不经常使用呢!

    panel是“嵌板”的意思。

    知道了不?

    不知道:来个例子。

    He panelled the wall with wood.
    他在墙上镶上木板。

    嵌板,嵌板,就是嵌上去的一块板子。

    看英英解释:

    pan‧el [countable]
    1

    group of people

    [also + plural verbBritish English]
    a) a group of people with skills or specialist knowledge who have been chosen to give advice or opinions on a particular subject
    panel of
    A panel of experts has looked at the proposal.
    on a panel
    There will be at least three senior doctors on the panel.
    b) a group of well-known people who answer questions on a radio or television programme [↪ panellist]
    on a panel
    We have two senior politicians on our panel tonight.
    c) American Englisha group of people who are chosen to listen to a case in a court of law and to decide the result [= jury]:
    The panel spent 14 hours going over the evidence.
    2

    piece of something

    a) a flat piece of wood, glass etc with straight sides, which forms part of a door, wall, fence etc:
    a stained glass panel
    There were a few panels missing from the fence.
    b) a piece of metal that forms part of the outer structure of a vehicle:
    One of the door panels was badly damaged and had to be replaced.
    c) a piece of material that forms part of a piece of clothing:
    a skirt made in six panels
    3

    instrument/control panel

    a board in a car, plane, boat etc that has the controls on it
    4

    picture

    a thin board with a picture painted on it
     
    主要看第二个解释:它是什么?它就是“什么东西的片”。具体意应该是单词的最初的意思,抽象意应该是单词的引申意,后来的意思。第2个意思是具体意,第1个意思是引申意。
     
    再看百度百科怎么说这个Panel 的,说的是windows,应该是。NET吧!

    Panel 控件概述(Windows 窗体)

      Windows 窗体 Panel 控件用于为其他控件提供可识别的分组。
    最后我说:
      Panel是嵌板,嵌板是什么?就是你在墙上嵌的一块板子。你在墙上嵌板子做什么?当然是为了里边装个相片做相框。哎!这就是panel.
           panel是辅助性的东西。这个就是百度百科里说的用于为其他控件提供的可识别的分组。
    也是java里的panel.如下:
    1.窗体中可以存放各种组件,所以窗体是容器Container。创建时我们使用的是它的子类

    2.Container的常用子类有两个,WindowPanelWindow是我们常用的窗体,Panel是用来布局的不可见的。

    3.Window也有两个常用子类,FrameDialogFrame是我们常用的带有标题和边框的顶层窗口,Dialog是对话框。

    来张图片:更明显。

     

     

      看见了吗?什么是panel. 这个就是Panel。control panel。 就是“控制的panel” ,能把一块板子嵌到墙上,当然也能把一块板子嵌到 microwave oven 上,嵌到上面的板子就变成了一个专业名词“控制面板”, 不知道windows的英文板的“控制面板”是不是这个词。反正微波炉上的这个叫控制面板。
        我必须再贴个图,证明我猜对了。
     
           
    最后再来总结一下panel的意思变更:
    1. 本来就是一个什么东西的片。或者说就是一个嵌入什么东西的板子。
    2. 能嵌入到墙上, 也能嵌入到其它的地方上,这个就变成了control panel, 这个就是微波炉上的那个东西。
    3.能表示实体的“控制面板”,也能表示虚拟的“控制面板”,这个就是windows的控制面板。
    4. 根据它的辅助功能 ,变身,就变成了“专家组”。 专家组过来了,肯定是辅助你干什么事的。
    5.根据它的辅助功能,它就变成了编程语言的panel。
    这个就是Panel.
     
  • 相关阅读:
    2018 10-708 (CMU) Probabilistic Graphical Models {Lecture 25} [Spectral Methods]
    2018 10-708 (CMU) Probabilistic Graphical Models {Lecture 23} [Applications in Computer Vision (cont’d) + Gaussian Process] (unfinished)
    2018 10-708 (CMU) Probabilistic Graphical Models {Lecture 22} [Applications in Computer Vision (cont’d) + Gaussian Process]
    2018 10-708 (CMU) Probabilistic Graphical Models {Lecture 21} [A Hybrid: Deep Learning and Graphical Models]
    2018 10-708 (CMU) Probabilistic Graphical Models {Lecture 15} [Mean field Approximation]
    Font Awesome
    Vue中img的src属性绑定
    匿名内部类的使用
    局部内部类的特点与使用
    linux systemctl命令
  • 原文地址:https://www.cnblogs.com/olvo/p/2815515.html
Copyright © 2011-2022 走看看