コード例 #1
0
 /** @param verticalSplit <code>true</code> means that splitter will have vertical split */
 public void setOrientation(boolean verticalSplit) {
   myVerticalSplit = verticalSplit;
   myFirstDivider.setOrientation(verticalSplit);
   myLastDivider.setOrientation(verticalSplit);
   doLayout();
   repaint();
 }
コード例 #2
0
 public void setDividerWidth(int width) {
   if (width < 0) {
     throw new IllegalArgumentException("Wrong divider width: " + width);
   }
   if (myDividerWidth != width) {
     myDividerWidth = width;
     doLayout();
     repaint();
   }
 }
コード例 #3
0
 public void setLastSize(final int size) {
   myLastSize = size;
   doLayout();
   repaint();
 }