class AutoLayoutByOffset extends AutoLayout {

    int offsetx;
    int offsety;

    AutoLayoutByOffset(Visual targetComponent, int offsetx, int offsety) {
      super(targetComponent);
      this.offsetx = offsetx;
      this.offsety = offsety;
    }

    @Override
    void update() {<FILL_FUNCTION_BODY>}
  }

      setOffset(offsetx, offsety);
      Region region = new Region(leader.getBounds());
      setLocationRelativeToRegion(region, Layout.ORIGIN);
      super.update();
    
<methods>public void <init>() ,public void addAncestorListener(javax.swing.event.AncestorListener) ,public void addNotify() ,public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener) ,public void computeVisibleRect(java.awt.Rectangle) ,public boolean contains(int, int) ,public javax.swing.JToolTip createToolTip() ,public void disable() ,public void enable() ,public void firePropertyChange(java.lang.String, boolean, boolean) ,public void firePropertyChange(java.lang.String, int, int) ,public void firePropertyChange(java.lang.String, char, char) ,public java.awt.event.ActionListener getActionForKeyStroke(javax.swing.KeyStroke) ,public final javax.swing.ActionMap getActionMap() ,public float getAlignmentX() ,public float getAlignmentY() ,public javax.swing.event.AncestorListener[] getAncestorListeners() ,public boolean getAutoscrolls() ,public int getBaseline(int, int) ,public java.awt.Component.BaselineResizeBehavior getBaselineResizeBehavior() ,public javax.swing.border.Border getBorder() ,public java.awt.Rectangle getBounds(java.awt.Rectangle) ,public final java.lang.Object getClientProperty(java.lang.Object) ,public javax.swing.JPopupMenu getComponentPopupMenu() ,public int getConditionForKeyStroke(javax.swing.KeyStroke) ,public int getDebugGraphicsOptions() ,public static java.util.Locale getDefaultLocale() ,public java.awt.FontMetrics getFontMetrics(java.awt.Font) ,public java.awt.Graphics getGraphics() ,public int getHeight() ,public boolean getInheritsPopupMenu() ,public final javax.swing.InputMap getInputMap() ,public final javax.swing.InputMap getInputMap(int) ,public javax.swing.InputVerifier getInputVerifier() ,public java.awt.Insets getInsets() ,public java.awt.Insets getInsets(java.awt.Insets) ,public T[] getListeners(Class<T>) ,public java.awt.Point getLocation(java.awt.Point) ,public java.awt.Dimension getMaximumSize() ,public java.awt.Dimension getMinimumSize() ,public java.awt.Component getNextFocusableComponent() ,public java.awt.Point getPopupLocation(java.awt.event.MouseEvent) ,public java.awt.Dimension getPreferredSize() ,public javax.swing.KeyStroke[] getRegisteredKeyStrokes() ,public javax.swing.JRootPane getRootPane() ,public java.awt.Dimension getSize(java.awt.Dimension) ,public java.awt.Point getToolTipLocation(java.awt.event.MouseEvent) ,public java.lang.String getToolTipText() ,public java.lang.String getToolTipText(java.awt.event.MouseEvent) ,public java.awt.Container getTopLevelAncestor() ,public javax.swing.TransferHandler getTransferHandler() ,public javax.swing.plaf.ComponentUI getUI() ,public java.lang.String getUIClassID() ,public boolean getVerifyInputWhenFocusTarget() ,public synchronized java.beans.VetoableChangeListener[] getVetoableChangeListeners() ,public java.awt.Rectangle getVisibleRect() ,public int getWidth() ,public int getX() ,public int getY() ,public void grabFocus() ,public void hide() ,public boolean isDoubleBuffered() ,public static boolean isLightweightComponent(java.awt.Component) ,public boolean isManagingFocus() ,public boolean isOpaque() ,public boolean isOptimizedDrawingEnabled() ,public final boolean isPaintingForPrint() ,public boolean isPaintingTile() ,public boolean isRequestFocusEnabled() ,public boolean isValidateRoot() ,public void paint(java.awt.Graphics) ,public void paintImmediately(java.awt.Rectangle) ,public void paintImmediately(int, int, int, int) ,public void print(java.awt.Graphics) ,public void printAll(java.awt.Graphics) ,public final void putClientProperty(java.lang.Object, java.lang.Object) ,public void registerKeyboardAction(java.awt.event.ActionListener, javax.swing.KeyStroke, int) ,public void registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int) ,public void removeAncestorListener(javax.swing.event.AncestorListener) ,public void removeNotify() ,public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener) ,public void repaint(java.awt.Rectangle) ,public void repaint(long, int, int, int, int) ,public boolean requestDefaultFocus() ,public void requestFocus() ,public boolean requestFocus(boolean) ,public boolean requestFocusInWindow() ,public void resetKeyboardActions() ,public void reshape(int, int, int, int) ,public void revalidate() ,public void scrollRectToVisible(java.awt.Rectangle) ,public final void setActionMap(javax.swing.ActionMap) ,public void setAlignmentX(float) ,public void setAlignmentY(float) ,public void setAutoscrolls(boolean) ,public void setBackground(java.awt.Color) ,public void setBorder(javax.swing.border.Border) ,public void setComponentPopupMenu(javax.swing.JPopupMenu) ,public void setDebugGraphicsOptions(int) ,public static void setDefaultLocale(java.util.Locale) ,public void setDoubleBuffered(boolean) ,public void setEnabled(boolean) ,public void setFocusTraversalKeys(int, Set<? extends java.awt.AWTKeyStroke>) ,public void setFont(java.awt.Font) ,public void setForeground(java.awt.Color) ,public void setInheritsPopupMenu(boolean) ,public final void setInputMap(int, javax.swing.InputMap) ,public void setInputVerifier(javax.swing.InputVerifier) ,public void setMaximumSize(java.awt.Dimension) ,public void setMinimumSize(java.awt.Dimension) ,public void setNextFocusableComponent(java.awt.Component) ,public void setOpaque(boolean) ,public void setPreferredSize(java.awt.Dimension) ,public void setRequestFocusEnabled(boolean) ,public void setToolTipText(java.lang.String) ,public void setTransferHandler(javax.swing.TransferHandler) ,public void setVerifyInputWhenFocusTarget(boolean) ,public void setVisible(boolean) ,public void unregisterKeyboardAction(javax.swing.KeyStroke) ,public void update(java.awt.Graphics) ,public void updateUI() <variables>private static final int ACTIONMAP_CREATED,private static final int ANCESTOR_INPUTMAP_CREATED,private static final int ANCESTOR_USING_BUFFER,private static final int AUTOSCROLLS_SET,private static final int COMPLETELY_OBSCURED,private static final int CREATED_DOUBLE_BUFFER,static boolean DEBUG_GRAPHICS_LOADED,private static final int FOCUS_INPUTMAP_CREATED,private static final int FOCUS_TRAVERSAL_KEYS_BACKWARD_SET,private static final int FOCUS_TRAVERSAL_KEYS_FORWARD_SET,private static final int INHERITS_POPUP_MENU,private static final java.lang.Object INPUT_VERIFIER_SOURCE_KEY,private static final int IS_DOUBLE_BUFFERED,private static final int IS_OPAQUE,private static final int IS_PAINTING_TILE,private static final int IS_PRINTING,private static final int IS_PRINTING_ALL,private static final int IS_REPAINTING,private static final java.lang.String KEYBOARD_BINDINGS_KEY,private static final int KEY_EVENTS_ENABLED,private static final java.lang.String NEXT_FOCUS,private static final int NOT_OBSCURED,private static final int OPAQUE_SET,private static final int PARTIALLY_OBSCURED,private static final int REQUEST_FOCUS_DISABLED,private static final int RESERVED_1,private static final int RESERVED_2,private static final int RESERVED_3,private static final int RESERVED_4,private static final int RESERVED_5,private static final int RESERVED_6,public static final java.lang.String TOOL_TIP_TEXT_KEY,public static final int UNDEFINED_CONDITION,public static final int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,public static final int WHEN_FOCUSED,public static final int WHEN_IN_FOCUSED_WINDOW,private static final java.lang.String WHEN_IN_FOCUSED_WINDOW_BINDINGS,private static final int WIF_INPUTMAP_CREATED,private static final int WRITE_OBJ_COUNTER_FIRST,private static final int WRITE_OBJ_COUNTER_LAST,private transient java.lang.Object aaHint,private javax.swing.ActionMap actionMap,private float alignmentX,private float alignmentY,private javax.swing.InputMap ancestorInputMap,private boolean autoscrolls,private javax.swing.border.Border border,private transient javax.swing.ArrayTable clientProperties,private static java.awt.Component componentObtainingGraphicsFrom,private static java.lang.Object componentObtainingGraphicsFromLock,private static final java.lang.String defaultLocale,private int flags,static final sun.awt.RequestFocusController focusController,private javax.swing.InputMap focusInputMap,private javax.swing.InputVerifier inputVerifier,private boolean isAlignmentXSet,private boolean isAlignmentYSet,private transient java.lang.Object lcdRenderingHint,protected javax.swing.event.EventListenerList listenerList,private static Set<javax.swing.KeyStroke> managingFocusBackwardTraversalKeys,private static Set<javax.swing.KeyStroke> managingFocusForwardTraversalKeys,transient java.awt.Component paintingChild,private javax.swing.JPopupMenu popupMenu,private static final Hashtable<java.io.ObjectInputStream,javax.swing.JComponent.ReadObjectCallback> readObjectCallbacks,private transient java.util.concurrent.atomic.AtomicBoolean revalidateRunnableScheduled,private static List<java.awt.Rectangle> tempRectangles,protected transient javax.swing.plaf.ComponentUI ui,private static final java.lang.String uiClassID,private boolean verifyInputWhenFocusTarget,private java.beans.VetoableChangeSupport vetoableChangeSupport,private javax.swing.ComponentInputMap windowInputMap