Search in sources :

Example 1 with LabeledWidget

use of maspack.widgets.LabeledWidget in project artisynth_core by artisynth.

the class MuscleFibreAgent method createBundleWidgets.

private void createBundleWidgets() {
    myBundlePanel = new PropertyPanel();
    LabeledWidget widget;
    widget = (LabeledWidget) myBundlePanel.addWidget(myBundle.getProperty("name"));
    widget.setLabelText("bundle name");
    widget = (LabeledWidget) myBundlePanel.addWidget(myBundle.getProperty("renderProps"));
    widget.setLabelText("bundle renderProps");
    myBundlePanel.setAlignmentX(Component.LEFT_ALIGNMENT);
    myContentPane.addWidget(myBundlePanel);
}
Also used : LabeledWidget(maspack.widgets.LabeledWidget) PropertyPanel(maspack.widgets.PropertyPanel)

Aggregations

LabeledWidget (maspack.widgets.LabeledWidget)1 PropertyPanel (maspack.widgets.PropertyPanel)1