com.alee.laf.scroll.ScrollCornerProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weblaf-ui Show documentation
Show all versions of weblaf-ui Show documentation
WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications
package com.alee.laf.scroll;
import javax.swing.*;
/**
* @author Alexandr Zernov
*/
public interface ScrollCornerProvider
{
/**
* Returns the component at the specified corner. The {@code key} value specifying the corner is one of:
*
* - ScrollPaneConstants.LOWER_LEFT_CORNER
*
- ScrollPaneConstants.LOWER_RIGHT_CORNER
*
- ScrollPaneConstants.UPPER_LEFT_CORNER
*
- ScrollPaneConstants.UPPER_RIGHT_CORNER
*
- ScrollPaneConstants.LOWER_LEADING_CORNER
*
- ScrollPaneConstants.LOWER_TRAILING_CORNER
*
- ScrollPaneConstants.UPPER_LEADING_CORNER
*
- ScrollPaneConstants.UPPER_TRAILING_CORNER
*
*
* @param key one of the values as shown above
* @return the corner component (which may be {@code null}) identified by the given key, or {@code null} if the key is invalid
*/
public JComponent getCorner ( String key );
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy