下面列出了怎么用javax.swing.plaf.SplitPaneUI的API类实例代码及写法,或者点击链接到github查看源代码。
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMaximumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMaximumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMaximumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMaximumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMaximumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMaximumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMaximumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMaximumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMaximumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMaximumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMaximumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMaximumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMaximumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMaximumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMaximumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMaximumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMaximumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMaximumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMaximumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMaximumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMaximumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMaximumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMaximumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMaximumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMaximumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMaximumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMaximumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMaximumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMaximumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMaximumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMaximumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMaximumDividerLocation(a);
}
return returnValue;
}
/**
* Maps {@code JSplitPane.setUI(SplitPaneUI)} through queue
*/
public void setUI(final SplitPaneUI splitPaneUI) {
runMapping(new MapVoidAction("setUI") {
@Override
public void map() {
((JSplitPane) getSource()).setUI(splitPaneUI);
}
});
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getDividerLocation(a);
}
return returnValue;
}
/**
* Invokes the <code>getMinimumDividerLocation</code> method on each UI handled by this object.
*
* @return the value obtained from the first UI, which is
* the UI obtained from the default <code>LookAndFeel</code>
*/
public int getMinimumDividerLocation(JSplitPane a) {
int returnValue =
((SplitPaneUI) (uis.elementAt(0))).getMinimumDividerLocation(a);
for (int i = 1; i < uis.size(); i++) {
((SplitPaneUI) (uis.elementAt(i))).getMinimumDividerLocation(a);
}
return returnValue;
}