开发者

Views displays different component based on configuration

I would like to know if there is a design pattern that would help me to build views differently based on some configuration parameters. For exemple if configuration 1 is enabled then some components are displayed but if configurati开发者_JS百科on 2 is enabled those component are not visible, or on configuration 3 I can display 2 of these component. T


You can do this by showing different "cards" using CardLayout. See How to Use CardLayout.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜