英文:
How to code an expandable pane/panel/card
问题
我在下面添加了一张图片,以展示我想要实现的内容。我在其他地方看到过类似的实现,但不确定它叫什么。
它的作用是,当点击左侧的框/面板/卡片时,右侧会显示一个详细面板,显示非常详细的信息。如果用户只想看到更多信息,可以展开面板/卡片以显示更多信息,可以是一个箭头或者一个“显示更多”超链接。
我想知道是否已经存在某种 Java 插件,我可以对其进行修改并用于满足我的需求,而不是从头开始编写整个内容。
如果有人对此有任何想法,我很愿意听取更多!提前谢谢!
英文:
I added an image below to show what i am trying to achieve. I've seen similar implementations of this else where but isn't sure what it's called.
What it will do is when a box/panel/card on the left is clicked, a detailed panel on the right will be displayed, showing very detailed information. If a user simply wants to see a little more, an arrow or a "show more" hyper link will expand the panel/card to display more information.
I'm wondering if some sort of java plugin is already in existence which i can modify and utilize to fit my needs, instead of coding the entire thing from scratch.
If anyone has any idea of this, i would love to hear more! Thanks in advance!
专注分享java语言的经验与见解,让所有开发者获益!
评论