logo       
Google Custom Search
    AddThis Social Bookmark Button

[ xframe-Bugs-1202938 ] Vertical scrollbar policy not settable: msg#00035

Subject: [ xframe-Bugs-1202938 ] Vertical scrollbar policy not settable
Bugs item #1202938, was opened at 2005-05-16 18:17
Message generated for change (Settings changed) made by kriede
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1202938&group_id=48863

Category: JXTable
Group: swing
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Iñaqui Medina (inaquimj)
>Assigned to: Iñaqui Medina (inaquimj)
Summary: Vertical scrollbar policy not settable

Initial Comment:
JXTable provides setter and getter for the horizontal 
scrollbar policy but not for the vertical.

Since the actual scroll pane is private there is no way to 
change this (even overriding).

Missing:

    /**
     * Determines when the vertical scrollbar appears in 
the scrollpane. 
     * Legal values are:
     * <ul>
     * 
<li>JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED
     * <li>JScrollPane.VERTICAL_SCROLLBAR_NEVER
     * 
<li>JScrollPane.VERTICAL_SCROLLBAR_ALWAYS
     * </ul>
     *
     * @param policy one of the three values listed above
     * @exception IllegalArgumentException if 
<code>policy</code> 
     *                          is not one 
of the legal values shown above
     * @see #getVerticalScrollBarPolicy
     */
    public void setVerticalScrollBarPolicy(final int policy) {
        scrollPane.setVerticalScrollBarPolicy(policy);
    }
    
    /**
     * Returns the vertical scroll bar policy value.
     * @return the <code>verticalScrollBarPolicy</code> 
property
     * @see #setVerticalScrollBarPolicy
     */
    public int getVerticalScrollBarPolicy() {
        return scrollPane.getVerticalScrollBarPolicy();
    }

----------------------------------------------------------------------

Comment By: Iñaqui Medina (inaquimj)
Date: 2005-05-16 18:30

Message:
Logged In: YES 
user_id=1086927

Man I suck!

I had my CVS to pserver instead of extssh... the changes 
were commited.

----------------------------------------------------------------------

Comment By: Iñaqui Medina (inaquimj)
Date: 2005-05-16 18:20

Message:
Logged In: YES 
user_id=1086927

Again I tried to commit, it started sending the file and 
suddendly I got a nice:

"commit" requires write access to the repository.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1202938&group_id=48863


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>