本文整理了Java中org.netbeans.swing.outline.Outline.repaint()
方法的一些代码示例,展示了Outline.repaint()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Outline.repaint()
方法的具体详情如下:
包路径:org.netbeans.swing.outline.Outline
类名称:Outline
方法名:repaint
暂无
代码示例来源:origin: org.rwshop/org.rwshop.nb.motion
@Override
public void run() {
Rectangle cell = myJointTree.getCellRect(myRow, n, false);
Rectangle cell2 = myJointTree.getCellRect(myRow, n+1, false);
myJointTree.repaint(cell);
myJointTree.repaint(cell2);
}
});
代码示例来源:origin: org.rwshop/org.rwshop.nb.motion
@Override
public void run() {
Rectangle cell = myJointTree.getCellRect(myRow, n, false);
myJointTree.repaint(cell);
}
});
代码示例来源:origin: in.jlibs/org-netbeans-swing-outline
private void change() {
revalidate();
repaint();
}
代码示例来源:origin: org.rwshop/org.rwshop.nb.motion
@Override
public void propertyChange(PropertyChangeEvent pce) {
String name = pce.getPropertyName();
Integer i = null;
if(JointGroup.PROP_ENABLED.equals(name)){
i = 1;
}else if(JointGroup.PROP_NAME.equals(name)){
i = 0;
}else if(JointGroup.PROP_STRUCTURE_CHANGED.equals(name)){
stopListening();
buildListeners();
try{
SwingUtilities.invokeLater(new UpdateRunnable());
}catch(Exception ex){
}
return;
}
if(i == null){
return;
}
Rectangle cell = myJointTree.getCellRect(myRow, i, false);
myJointTree.repaint(cell);
}
代码示例来源:origin: org.rwshop/org.rwshop.nb.motion
@Override
public void run() {
setRow(myRow);
RowModel rm = new JointTreeRowModel(myPropNames);
TreeModel tm = new JointGroupTreeModel(myJointGroup);
OutlineModel mdl = DefaultOutlineModel.createOutlineModel(tm, rm);
myJointTree.setModel(mdl);
myJointTree.repaint();
}
内容来源于网络,如有侵权,请联系作者删除!