ユーザー・インターフェース・コンポーネントのカスタマイズ

スタイル・シートを使用して、すべての JViews Diagrammer ユーザー・インターフェース・コンポーネントをカスタマイズすることができます。 ユーザー・インターフェース・コンポーネントのスタイリングを使用可能にするには、 IlvDiagrammer プロパティーの styleApplicationComponentstrue に設定します。
以下のコード例は、ツリー、プロパティー・シート、および表のカスタマイズ方法を示しています。
ユーザー・インターフェース・コンポーネントのカスタマイズ
Diagrammer {
  styleApplicationComponents : "true"; // enable styling of 
                                          // components.
}
DiagrammerTree {
  rootLabel : "My Graph"; // set label of root item in tree
}
node:DiagrammerTree {
  text : "@name"; // use "name" property as label of items in tree
}
node:DiagrammerPropertySheet:type {
  editable : "false"; // set "type"  property for all nodes read-only
}
node.activity:DiagrammerTable {
  background : "yellow"; // set yellow background for "activity" nodes 
                            // in table 
}