java.lang.Object
io.qt.QtObject
io.qt.gui.QPixmapCache
- All Implemented Interfaces:
QtObjectInterface
Application-wide cache for pixmaps
Java wrapper for Qt class QPixmapCache
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classQPixmapCache::Key class can be used for efficient access to the QPixmapCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic voidclear()static QPixmapfind(QPixmapCache.Key key) static booleanfind(QPixmapCache.Key key, QPixmap pixmap) static QPixmapstatic booleanstatic QPixmapCache.Keystatic booleanstatic voidremove(QPixmapCache.Key key) static voidstatic booleanreplace(QPixmapCache.Key key, QPixmap pixmap) static voidsetCacheLimit(int arg__1) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QPixmapCache
public QPixmapCache()See
QPixmapCache::QPixmapCache()
-
-
Method Details
-
cacheLimit
public static int cacheLimit()- Returns:
-
clear
public static void clear() -
find
- Parameters:
key-pixmap-- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
find
- Parameters:
key-pixmap-- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
insert
- Parameters:
pixmap-- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
insert
- Parameters:
key-pixmap-- Returns:
-
remove
- Parameters:
key-- Since:
- This function was introduced in Qt 4.6.
-
remove
- Parameters:
key-
-
replace
- Parameters:
key-pixmap-- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
setCacheLimit
public static void setCacheLimit(int arg__1) - Parameters:
arg__1-
-
find
- See Also:
-
find
- See Also:
-