Package java.awt.peer

Examples of java.awt.peer.ChoicePeer


        if ((pos >= pItems.size()) || (pos < 0)) {
            throw new IllegalArgumentException("illegal Choice item position: " + pos);
        }
        if (pItems.size() > 0) {
            selectedIndex = pos;
            ChoicePeer peer = (ChoicePeer)this.peer;
            if (peer != null) {
                peer.select(pos);
            }
        }
    }
View Full Code Here


 
    pItems.removeAllElements ();

    if (peer != null)
      {
  ChoicePeer cp = (ChoicePeer) peer;
  cp.removeAll ();
      }

    selectedIndex = -1;
  }
View Full Code Here

TOP

Related Classes of java.awt.peer.ChoicePeer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.