com.java4less.rss
Class RSSExpanded

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--com.java4less.rss.BarCode
                    |
                    +--com.java4less.rss.RSS
                          |
                          +--com.java4less.rss.RSSLimited
                                |
                                +--com.java4less.rss.RSSExpanded
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class RSSExpanded
extends RSSLimited

Class used to create RSS expanded symbols with or without 2D component. This is a canvas object where the barcode will be painted. Example of use:

   RSSExpanded r=new RSSExpanded();
   r.setCode("01950123456789033103000123"); // DOES include the application identitifer 01
   r.setSize(300,300);
   new ImageEncoder(r,"JPEG","c:\\barcode.jpg");

   Example with CC component:

   RSSExpanded r=new RSSExpanded();
   r.setCode("010001234567890510ABCDEF"); // DOES include the application identitifer 01
   r.setSecondaryCode("2112345678"); // this forces the CC component to be created.
   r.setRSSFormat(RSS.FORMAT_EXPANDED_STACKED);
   r.setSize(300,300);
   new ImageEncoder(r,"JPEG","c:\\barcode.jpg");
  

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.java4less.rss.RSS
FORMAT_EXPANDED, FORMAT_EXPANDED_STACKED, FORMAT_LIMITED, FORMAT_REGULAR, FORMAT_STACKED, FORMAT_STACKED_OMNIDIRECTIONAL, FORMAT_TRUNCATED
 
Fields inherited from class com.java4less.rss.BarCode
EAN128, EAN13, EAN8, H, L, RSS14, RSSEXPANDED, RSSLIMITED, UPCA, UPCE
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
RSSExpanded()
           
 
Method Summary
 int getStackedRowWidth()
          number of segment pairs in each row if using the stacked format.
 void getStackedRowWidth(int i)
          number of segment pairs in each row if using the stacked format.
 
Methods inherited from class com.java4less.rss.RSS
getRSSFormat, setRSSFormat
 
Methods inherited from class com.java4less.rss.BarCode
barHeight2D, getBackColor, getBarColor, getBarHeight, getBarHeight2D, getBarType, getCCCColumns, getCode, getEAN128WithCCC, getEANUPCPrintFlag, getFontColor, getGuardBars, getH, getHumanReadableCode, getLeftMargin, getName, getProcessTilde, getRotate, getSecondaryCode, getSupHeight, getSuplement, getSupSeparation, getSymbology, getTextFont, getTopMargin, getUPCEANSupplement2, getUPCEANSupplement5, getUPCESytem, getX, paint, setBackColor, setBarColor, setBarHeight, setBarType, setCCCColumns, setCode, setEAN128WithCCC, setEANUPCPrintFlag, setFontColor, setGuardBars, setH, setHumanReadableCode, setLeftMargin, setProcessTilde, setRotate, setSecondaryCode, setSupHeight, setSuplement, setSupSeparation, setSymbology, setTextFont, setTopMargin, setUPCEANSupplement2, setUPCEANSupplement5, setUPCESytem, setX
 
Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RSSExpanded

public RSSExpanded()
Method Detail

getStackedRowWidth

public void getStackedRowWidth(int i)
number of segment pairs in each row if using the stacked format. The default value is 2 pairs (ie. 4 symbol characters). Allowed values are 1 to 10


getStackedRowWidth

public int getStackedRowWidth()
number of segment pairs in each row if using the stacked format. The default value is 2 pairs (ie. 4 symbol characters). Allowed values are 1 to 10