coras.representations
Class BitmapImage

java.lang.Object
  extended bycoras.common.CorasRepresentation
      extended bycoras.representations.DiagramRepresentation
          extended bycoras.representations.BitmapImage
All Implemented Interfaces:
BinaryRepresentation

public class BitmapImage
extends DiagramRepresentation
implements BinaryRepresentation

Author:
fvr TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
protected BitmapImage(no.sintef.assetrepository.Representation representation)
           
 
Method Summary
static ImagePanel createUIComponent(byte[] imageBytes)
           
 byte[] getBinaryContent()
           
 java.awt.Component getUIComponent()
           
 
Methods inherited from class coras.common.CorasRepresentation
getContent, getFilename, getRepresentation, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitmapImage

protected BitmapImage(no.sintef.assetrepository.Representation representation)
Parameters:
representation -
Method Detail

getUIComponent

public java.awt.Component getUIComponent()
Specified by:
getUIComponent in class DiagramRepresentation

getBinaryContent

public byte[] getBinaryContent()
Specified by:
getBinaryContent in interface BinaryRepresentation

createUIComponent

public static ImagePanel createUIComponent(byte[] imageBytes)


Copyright © 2003-2005 SINTEF. All Rights Reserved.