Search in sources :

Example 1 with CheckList

use of org.cytoscape.internal.prefs.lib.CheckList in project cytoscape-impl by cytoscape.

the class PrefsStyles method makeEdgeList.

private VBox makeEdgeList() {
    edgeAttributes = new CheckList(edge);
    components.put("defaultVisualProperties.edge", edgeAttributes);
    JScrollPane container = new JScrollPane(edgeAttributes, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    return new VBox(false, true, new HBox(true, true, new JLabel("Edge")), container);
}
Also used : JScrollPane(javax.swing.JScrollPane) HBox(org.cytoscape.internal.prefs.lib.HBox) CheckList(org.cytoscape.internal.prefs.lib.CheckList) JLabel(javax.swing.JLabel) VBox(org.cytoscape.internal.prefs.lib.VBox)

Example 2 with CheckList

use of org.cytoscape.internal.prefs.lib.CheckList in project cytoscape-impl by cytoscape.

the class PrefsStyles method makeNodeList.

private VBox makeNodeList() {
    nodeAttributes = new CheckList(node);
    components.put("defaultVisualProperties.node", nodeAttributes);
    JScrollPane container = new JScrollPane(nodeAttributes, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    return new VBox(false, true, new HBox(true, true, new JLabel("Node")), container);
}
Also used : JScrollPane(javax.swing.JScrollPane) HBox(org.cytoscape.internal.prefs.lib.HBox) CheckList(org.cytoscape.internal.prefs.lib.CheckList) JLabel(javax.swing.JLabel) VBox(org.cytoscape.internal.prefs.lib.VBox)

Example 3 with CheckList

use of org.cytoscape.internal.prefs.lib.CheckList in project cytoscape-impl by cytoscape.

the class PrefsStyles method makeNetworkList.

private VBox makeNetworkList() {
    networkAttributes = new CheckList(network);
    components.put("defaultVisualProperties.network", networkAttributes);
    JScrollPane container = new JScrollPane(networkAttributes, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    return new VBox(false, true, new HBox(true, true, new JLabel("Network")), container);
}
Also used : JScrollPane(javax.swing.JScrollPane) HBox(org.cytoscape.internal.prefs.lib.HBox) CheckList(org.cytoscape.internal.prefs.lib.CheckList) JLabel(javax.swing.JLabel) VBox(org.cytoscape.internal.prefs.lib.VBox)

Aggregations

JLabel (javax.swing.JLabel)3 JScrollPane (javax.swing.JScrollPane)3 CheckList (org.cytoscape.internal.prefs.lib.CheckList)3 HBox (org.cytoscape.internal.prefs.lib.HBox)3 VBox (org.cytoscape.internal.prefs.lib.VBox)3