Fusion Tables API v1 (revision 16)



com.google.api.services.fusiontables
Class Fusiontables.Style

java.lang.Object
  extended by com.google.api.services.fusiontables.Fusiontables.Style
Enclosing class:
Fusiontables

public class Fusiontables.Style
extends java.lang.Object

The "style" collection of methods.


Nested Class Summary
 class Fusiontables.Style.Delete
           
 class Fusiontables.Style.Get
           
 class Fusiontables.Style.Insert
           
 class Fusiontables.Style.List
           
 class Fusiontables.Style.Patch
           
 class Fusiontables.Style.Update
           
 
Constructor Summary
Fusiontables.Style()
           
 
Method Summary
 Fusiontables.Style.Delete delete(java.lang.String tableId, java.lang.Integer styleId)
          Deletes a style.
 Fusiontables.Style.Get get(java.lang.String tableId, java.lang.Integer styleId)
          Gets a specific style.
 Fusiontables.Style.Insert insert(java.lang.String tableId, StyleSetting content)
          Adds a new style for the table.
 Fusiontables.Style.List list(java.lang.String tableId)
          Retrieves a list of styles.
 Fusiontables.Style.Patch patch(java.lang.String tableId, java.lang.Integer styleId, StyleSetting content)
          Updates an existing style.
 Fusiontables.Style.Update update(java.lang.String tableId, java.lang.Integer styleId, StyleSetting content)
          Updates an existing style.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fusiontables.Style

public Fusiontables.Style()
Method Detail

delete

public Fusiontables.Style.Delete delete(java.lang.String tableId,
                                        java.lang.Integer styleId)
                                 throws java.io.IOException
Deletes a style. Create a request for the method "style.delete". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table from which the style is being deleted
styleId - Identifier (within a table) for the style being deleted
Returns:
the request
Throws:
java.io.IOException

get

public Fusiontables.Style.Get get(java.lang.String tableId,
                                  java.lang.Integer styleId)
                           throws java.io.IOException
Gets a specific style. Create a request for the method "style.get". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table to which the requested style belongs
styleId - Identifier (integer) for a specific style in a table
Returns:
the request
Throws:
java.io.IOException

insert

public Fusiontables.Style.Insert insert(java.lang.String tableId,
                                        StyleSetting content)
                                 throws java.io.IOException
Adds a new style for the table. Create a request for the method "style.insert". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table for which a new style is being added
content - the StyleSetting
Returns:
the request
Throws:
java.io.IOException

list

public Fusiontables.Style.List list(java.lang.String tableId)
                             throws java.io.IOException
Retrieves a list of styles. Create a request for the method "style.list". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table whose styles are being listed
Returns:
the request
Throws:
java.io.IOException

patch

public Fusiontables.Style.Patch patch(java.lang.String tableId,
                                      java.lang.Integer styleId,
                                      StyleSetting content)
                               throws java.io.IOException
Updates an existing style. This method supports patch semantics. Create a request for the method "style.patch". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table whose style is being updated.
styleId - Identifier (within a table) for the style being updated.
content - the StyleSetting
Returns:
the request
Throws:
java.io.IOException

update

public Fusiontables.Style.Update update(java.lang.String tableId,
                                        java.lang.Integer styleId,
                                        StyleSetting content)
                                 throws java.io.IOException
Updates an existing style. Create a request for the method "style.update". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table whose style is being updated.
styleId - Identifier (within a table) for the style being updated.
content - the StyleSetting
Returns:
the request
Throws:
java.io.IOException