All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alee.laf.scroll.ScrollCornerProvider Maven / Gradle / Ivy

Go to download

WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications

There is a newer version: 2.2.1
Show newest version
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