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 java.lang.Object implements HwmfRecord, HwmfObjectTableEntry
-
-
Constructor Summary
Constructors Constructor Description WmfPaletteParent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(HwmfGraphics ctx)Apply the record settings to the graphics contextintinit(LittleEndianInputStream leis, long recordSize, int recordFunction)Init record from stream-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.hwmf.record.HwmfObjectTableEntry
applyObject
-
Methods inherited from interface org.apache.poi.hwmf.record.HwmfRecord
getRecordType
-
-
-
-
Method Detail
-
init
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.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:
java.io.IOException
-
draw
public final void draw(HwmfGraphics ctx)
Description copied from interface:HwmfRecordApply the record settings to the graphics context- Specified by:
drawin interfaceHwmfRecord- Parameters:
ctx- the graphics context to modify
-
-