com.threerings.opengl.gui.config
Class BackgroundConfig.Image

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.gui.config.BackgroundConfig
          extended by com.threerings.opengl.gui.config.BackgroundConfig.Image
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
BackgroundConfig.ColorizedImage
Enclosing class:
BackgroundConfig

public static class BackgroundConfig.Image
extends BackgroundConfig

An image background.


Nested Class Summary
static class BackgroundConfig.Image.Anchor
          The various tile anchors.
static class BackgroundConfig.Image.Mode
          The various image modes.
 
Nested classes/interfaces inherited from class com.threerings.opengl.gui.config.BackgroundConfig
BackgroundConfig.Blank, BackgroundConfig.ColorizedImage, BackgroundConfig.Image, BackgroundConfig.Solid
 
Field Summary
 BackgroundConfig.Image.Anchor anchor
          The image anchor.
 String file
          The background image.
 InsetsConfig frame
          The image frame.
 BackgroundConfig.Image.Mode mode
          The image mode.
 
Constructor Summary
BackgroundConfig.Image()
           
 
Method Summary
 void getUpdateResources(HashSet<String> paths)
          Adds the background's update resources to the provided set.
 
Methods inherited from class com.threerings.opengl.gui.config.BackgroundConfig
getBackground, invalidate
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

file

@Editable(editor="resource",
          nullable=true,
          hgroup="f")
@FileConstraints(description="m.image_files_desc",
                 extensions={".png",".jpg",".dds"},
                 directory="image_dir")
public String file
The background image.


mode

@Editable(hgroup="m")
public BackgroundConfig.Image.Mode mode
The image mode.


anchor

@Editable(hgroup="m")
public BackgroundConfig.Image.Anchor anchor
The image anchor.


frame

@Editable(nullable=true)
public InsetsConfig frame
The image frame.

Constructor Detail

BackgroundConfig.Image

public BackgroundConfig.Image()
Method Detail

getUpdateResources

public void getUpdateResources(HashSet<String> paths)
Description copied from class: BackgroundConfig
Adds the background's update resources to the provided set.

Overrides:
getUpdateResources in class BackgroundConfig


Copyright © 2011. All Rights Reserved.