如何编写可展开的窗格/面板/卡片

huangapple 未分类评论55阅读模式
英文:

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!

huangapple
  • 本文由 发表于 2020年7月23日 17:22:05
  • 转载请务必保留本文链接:https://java.coder-hub.com/63050972.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定