[Mc4j-cvs] mc4j/application/dashboards BasicMBean.xml,1.6,1.7
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2004-04-08 03:04:46
|
Update of /cvsroot/mc4j/mc4j/application/dashboards In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31922/application/dashboards Modified Files: BasicMBean.xml Log Message: Cleaned up and documented a bit. Index: BasicMBean.xml =================================================================== RCS file: /cvsroot/mc4j/mc4j/application/dashboards/BasicMBean.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** BasicMBean.xml 7 Apr 2004 03:20:25 -0000 1.6 --- BasicMBean.xml 8 Apr 2004 02:51:40 -0000 1.7 *************** *** 19,30 **** </DashboardMatch> - - <LayoutManager type="java.awt.BorderLayout"/> <Content> ! ! ! ! <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> --- 19,26 ---- </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> ! ! <!-- *** The header section displays title and a refresh control *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> *************** *** 54,80 **** </Component> ! ! <!-- ! <Component type="javax.swing.JPanel"> ! <Constraint type="BorderConstraints" direction="NORTH"/> ! <LayoutManager type="java.awt.GridBagLayout"/> ! <Content> ! <Component type="javax.swing.JLabel" id="titleLable"> ! <Constraint type="java.awt.GridBagConstraints" anchor="NORTHWEST" fill="HORIZONTAL" gridx="1" gridy="1"/> ! <Attribute name="text" value="(Literal)JBoss Management Dashboard"/> ! <Attribute name="font" value="(Literal)Dialog bold 24"/> ! <Attribute name="foreground" value="(Literal)0x66BBAA"/> ! </Component> ! ! <Component type="javax.swing.JTextArea"> ! <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2"/> ! <Attribute name="text" value="(Bean)ObjectName.CanonicalName"/> ! <Attribute name="background" value="0xCCBB88"/> ! </Component> ! ! </Content> ! </Component> ! --> ! <Component type="javax.swing.JScrollPane"> <Constraint type="BorderConstraints" direction="CENTER"/> --- 50,54 ---- </Component> ! <!-- *** The main content is displayed within a scrollpane for easy viewing *** --> <Component type="javax.swing.JScrollPane"> <Constraint type="BorderConstraints" direction="CENTER"/> *************** *** 87,90 **** --- 61,65 ---- <LayoutManager type="java.awt.BoxLayout" axis="Y_AXIS"/> <Content> + <!-- *** A Section holder is an included component for providing hide-able parts *** --> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)MBean Attributes"/> *************** *** 92,96 **** --- 67,74 ---- <LayoutManager type="java.awt.BorderLayout"/> <Content> + + <!-- *** This component displays the attributes of an MBean *** --> <Component type="org.mc4j.console.dashboard.components.AttributeTreeTableExplorer"> + <!-- *** Notice were setting the node that we matched above by name here *** --> <Attribute name="beanNode" value="BeanNode"/> <Constraint type="BorderConstraints" direction="CENTER"/> *************** *** 98,104 **** <Attribute name="background" value="(Literal)0xFFFFFF"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> - <!--<Border type="javax.swing.border.TitledBorder"> - <Attribute name="title" value="(Literal)MBean Attributes"/> - </Border>--> </Component> </Content> --- 76,79 ---- *************** *** 122,160 **** </Content> </Component> - - <!--Component type="javax.swing.JPanel"> - <LayoutManager type="java.awt.GridBagLayout"/> - - <Constraint type="BorderConstraints" direction="CENTER"/> - <Border type="javax.swing.border.TitledBorder"> - <Attribute name="title" value="Greg's cool attributes"/> - </Border> - <Attribute name="background" value="0xCCBB88"/> - <Content> - <Component type="javax.swing.JCheckBox"> - <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="1"/> - <Attribute name="text" value="JBoss"/> - </Component> - <Component type="javax.swing.JCheckBox"> - <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="2" gridy="1"/> - <Attribute name="text" value="WebLogic"/> - </Component> - <Component type="javax.swing.JCheckBox"> - <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="3" gridy="1"/> - <Attribute name="text" value="WebSphere"/> - </Component> - - <Component type="javax.swing.JScrollPane"> - <Attribute name="preferredSize" value="400,400"/> - <Constraint type="java.awt.GridBagConstraints" weighty="1.0" gridwidth="3" fill="BOTH" insets="10,10,10,10" anchor="NORTH" gridx="1" gridy="2"/> - <Content> - <Component type="javax.swing.JEditorPane"> - <Attribute name="text" value="Match"/> - </Component> - </Content> - </Component> - </Content> - </Component--> - </Content> --- 97,100 ---- |