Package org.apache.poi.hwmf.record
Class HwmfPalette.WmfPaletteParent
java.lang.Object
org.apache.poi.hwmf.record.HwmfPalette.WmfPaletteParent
- All Implemented Interfaces:
HwmfObjectTableEntry,HwmfRecord
- Direct Known Subclasses:
HwmfPalette.WmfAnimatePalette,HwmfPalette.WmfCreatePalette,HwmfPalette.WmfSetPaletteEntries
- Enclosing class:
- HwmfPalette
public abstract static class HwmfPalette.WmfPaletteParent
extends Object
implements HwmfRecord, HwmfObjectTableEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddraw(HwmfGraphics ctx) Apply the record settings to the graphics contextprotected List<HwmfPalette.PaletteEntry>protected intintinit(LittleEndianInputStream leis, long recordSize, int recordFunction) Init record from streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.hwmf.record.HwmfObjectTableEntry
applyObjectMethods inherited from interface org.apache.poi.hwmf.record.HwmfRecord
getRecordType
-
Constructor Details
-
WmfPaletteParent
public WmfPaletteParent()
-
-
Method Details
-
init
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws IOException Description copied from interface:HwmfRecordInit record from stream- Specified by:
initin interfaceHwmfRecord- Parameters:
leis- the little endian input stream- Returns:
- count of processed bytes
- Throws:
IOException
-
draw
Description copied from interface:HwmfRecordApply the record settings to the graphics context- Specified by:
drawin interfaceHwmfRecord- Parameters:
ctx- the graphics context to modify
-
getPaletteCopy
-
getPaletteStart
protected int getPaletteStart()
-