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
Modifier and TypeClassDescriptionstatic class
QPixmapCache::Key class can be used for efficient access to the QPixmapCache -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static void
clear()
static QPixmap
find
(QPixmapCache.Key key) static boolean
find
(QPixmapCache.Key key, QPixmap pixmap) static QPixmap
static boolean
static QPixmapCache.Key
static boolean
static void
remove
(QPixmapCache.Key key) static void
static boolean
replace
(QPixmapCache.Key key, QPixmap pixmap) SeeQPixmapCache::
replace(QPixmapCache::Key, QPixmap) static void
setCacheLimit
(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:
-
find
- Parameters:
key
-pixmap
-- Returns:
-
insert
- Parameters:
pixmap
-- Returns:
-
insert
- Parameters:
key
-pixmap
-- Returns:
-
remove
- Parameters:
key
-
-
remove
- Parameters:
key
-
-
replace
See
QPixmapCache::
replace(QPixmapCache::Key, QPixmap) - Parameters:
key
-pixmap
-- Returns:
-
setCacheLimit
public static void setCacheLimit(int arg__1) - Parameters:
arg__1
-
-
find
- See Also:
-
find
- See Also:
-