IT. Expert System.

Java Standard Edition (SE)

UIDefaults.ActiveValue


javax.swing

Interface UIDefaults.ActiveValue

  • Enclosing class:
    UIDefaults


    public static interface UIDefaults.ActiveValue
    This class enables one to store an entry in the defaults table that's constructed each time it's looked up with one of the getXXX(key) methods. Here's an example of an ActiveValue that constructs a DefaultListCellRenderer:
      Object cellRendererActiveValue = new UIDefaults.ActiveValue() {
          public Object createValue(UIDefaults table) {
              return new DefaultListCellRenderer();
          }
      };
    
      uiDefaultsTable.put("MyRenderer", cellRendererActiveValue);
     
    See Also:
    UIDefaults.get(java.lang.Object)
    • Method Detail

      • createValue

        Object createValue(UIDefaults table)
        Creates the value retrieved from the UIDefaults table. The object is created each time it is accessed.
        Parameters:
        table - a UIDefaults table
        Returns:
        the created Object


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 29 / 158796267. Delta: 0.04357 с